ADD location and redshift

This commit is contained in:
Alexandre LUCAZEAU 2023-07-16 11:34:33 +02:00
parent 10d7de15b8
commit 0606c9dd37
2 changed files with 19 additions and 0 deletions

View File

@ -106,5 +106,10 @@
environment.variables.EDITOR = "nvim";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
location = {
provider = "manual";
latitude = 47.77;
longitude = -1.164;
};
}

View File

@ -17,6 +17,20 @@
interval = "hourly";
localuser = null;
};
redshift = {
enable = true;
brightness = {
# Note the string values below.
day = "1";
night = "1";
};
temperature = {
day = 5500;
night = 3700;
};
};
geoclue2.appConfig.redshift.isAllowed = true;
automatic-timezoned.enable = true;
xserver = {
enable = true;
autorun = true;