mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 18:54:34 +00:00
Enable dconf & set system-wide dark-mode
This commit is contained in:
parent
affd57d3cc
commit
4ceafed0d0
|
@ -29,6 +29,7 @@ in
|
|||
# These imports will be scoped under this key so all settings
|
||||
# in them will be added to `home-manager.users.${username}`..
|
||||
imports = [
|
||||
./misc
|
||||
./packages
|
||||
./programs
|
||||
./impermanence
|
||||
|
|
10
home/misc/dconf.nix
Normal file
10
home/misc/dconf.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
dconf.settings = {
|
||||
# This is like a system-wide dark mode swithc that some apps respect
|
||||
# Equivalent of the following dconf command:
|
||||
# `conf write /org/gnome/desktop/interface/color-scheme "'prefer-dark'"`
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
};
|
||||
}
|
5
home/misc/default.nix
Normal file
5
home/misc/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./dconf.nix
|
||||
];
|
||||
}
|
|
@ -16,6 +16,9 @@ in {
|
|||
|
||||
# gnome's keyring manager
|
||||
seahorse.enable = true;
|
||||
|
||||
# registry for linux (thanks to Gnome)
|
||||
dconf.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue