add nightlight

This commit is contained in:
Kopatz
2024-06-07 20:54:28 +02:00
parent 62c3617800
commit 13259838c3
3 changed files with 15 additions and 0 deletions

View File

@@ -22,5 +22,6 @@
#./stylix.nix
#./cosmic.nix
./shared.nix
./nightlight.nix
];
}

View File

@@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
let cfg = config.custom.graphical.nightlight;
in {
options.custom.graphical.nightlight = {
enable = lib.mkEnableOption "Enables nightlight";
};
config = lib.mkIf cfg.enable {
location.latitude = 48.2082;
location.longitude = 16.3738;
services.redshift.enable = true;
};
}

View File

@@ -58,6 +58,7 @@
noise-supression.enable = true;
obs.enable = true;
openrgb.enable = true;
nightlight.enable = true;
#plasma.enable = true;
i3.enable = true;
#gnome.enable = true;