Enable nightlight (dconf setting)
parent
9475aae43a
commit
a0472eccc6
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
dconf.settings = {
|
||||
"org/gnome/settings-daemon/plugins/color" = {
|
||||
night-light-enabled = true;
|
||||
night-light-schedule-automatic = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue