Enable nightlight (dconf setting)
This commit is contained in:
@@ -6,8 +6,11 @@
|
||||
}:
|
||||
|
||||
{
|
||||
home.stateVersion = "25.05";
|
||||
imports = [
|
||||
../../modules/dconf.nix # TODO: Only enable when on Gnome?
|
||||
];
|
||||
|
||||
home.stateVersion = "25.05";
|
||||
home.username = "h";
|
||||
home.homeDirectory = "/home/h";
|
||||
|
||||
|
||||
@@ -1,13 +1,19 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
../../modules/dconf.nix # TODO: Only enable when on Gnome?
|
||||
];
|
||||
|
||||
imports = [ inputs.sops-nix.homeManagerModules.sops ];
|
||||
home.stateVersion = "25.05";
|
||||
home.username = "hektor";
|
||||
home.homeDirectory = "/home/hektor";
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = "${builtins.toString inputs.nix-secrets}/secrets.yaml";
|
||||
@@ -22,10 +28,6 @@
|
||||
defaultWrapper = "mesa";
|
||||
};
|
||||
|
||||
home.username = "hektor";
|
||||
home.homeDirectory = "/home/hektor";
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
programs.anki = import ../../modules/anki.nix;
|
||||
programs.firefox = import ../../modules/firefox.nix {
|
||||
inherit inputs;
|
||||
|
||||
8
home/modules/dconf.nix
Normal file
8
home/modules/dconf.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
dconf.settings = {
|
||||
"org/gnome/settings-daemon/plugins/color" = {
|
||||
night-light-enabled = true;
|
||||
night-light-schedule-automatic = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user