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.username = "h";
|
||||||
home.homeDirectory = "/home/h";
|
home.homeDirectory = "/home/h";
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,19 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
inputs,
|
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 = {
|
sops = {
|
||||||
defaultSopsFile = "${builtins.toString inputs.nix-secrets}/secrets.yaml";
|
defaultSopsFile = "${builtins.toString inputs.nix-secrets}/secrets.yaml";
|
||||||
@@ -22,10 +28,6 @@
|
|||||||
defaultWrapper = "mesa";
|
defaultWrapper = "mesa";
|
||||||
};
|
};
|
||||||
|
|
||||||
home.username = "hektor";
|
|
||||||
home.homeDirectory = "/home/hektor";
|
|
||||||
home.stateVersion = "25.05";
|
|
||||||
|
|
||||||
programs.anki = import ../../modules/anki.nix;
|
programs.anki = import ../../modules/anki.nix;
|
||||||
programs.firefox = import ../../modules/firefox.nix {
|
programs.firefox = import ../../modules/firefox.nix {
|
||||||
inherit inputs;
|
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