23 lines
395 B
Nix
23 lines
395 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
options = {
|
|
wlsunset.enable =
|
|
lib.mkEnableOption "enable wlsunset";
|
|
};
|
|
config = lib.mkIf config.wlsunset.enable {
|
|
services.wlsunset = {
|
|
enable = true;
|
|
latitude = "49.6";
|
|
longitude = "36.1";
|
|
temperature = {
|
|
day = 6500;
|
|
night = 3000;
|
|
};
|
|
systemdTarget = "graphical-session.target";
|
|
};
|
|
};
|
|
}
|