mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-24 22:29:33 +01:00
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# https://github.com/danieldk/nix-home/blob/master/home/cfg/desktop.nix
|
|
# https://github.com/Martins3/My-Linux-Config/blob/master/nixpkgs/home/app/gnome.nix
|
|
|
|
# gsettings (or dconf-editor) schemas are spread throughout the nix store.
|
|
# One can use a script to add them to $XDG_DATA_DIRS and then execute a command.
|
|
# Here is an example script:
|
|
# https://github.com/NixOS/nixpkgs/issues/33277#issuecomment-354689755
|
|
|
|
programs.dconf.enable = true;
|
|
|
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
|
dconf.settings = {
|
|
"org/gnome/settings-daemon/plugins/color" = {
|
|
night-light-enabled = true;
|
|
night-light-schedule-automatic = false;
|
|
#night-light-temperature = "uint32 3700";
|
|
};
|
|
|
|
"org/gnome/mutter" = {
|
|
dynamic-workspaces = true;
|
|
workspaces-only-on-primary = true;
|
|
};
|
|
|
|
"org/gnome/desktop/interface" = {
|
|
# Dark Style
|
|
color-scheme = "prefer-dark";
|
|
# Multitasking > General > Hot Corner
|
|
enable-hot-corners = false;
|
|
show-battery-percentage = true;
|
|
};
|
|
};
|
|
};
|
|
}
|