feat(desktop): replace redshift with gammastep

This commit is contained in:
Moritz Böhme 2023-04-09 19:26:03 +02:00
parent 37c4cc70e3
commit 5c2cb5feb4
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
4 changed files with 19 additions and 19 deletions

View file

@ -97,7 +97,7 @@ with lib; {
mullvad.enable = true;
openconnect.enable = true;
printing.enable = true;
redshift.enable = true;
gammastep.enable = true;
wireguard.enable = true;
};
};

View file

@ -10,7 +10,7 @@
./openconnect.nix
./picom.nix
./printing.nix
./redshift.nix
./gammastep.nix
./wireguard.nix
];
}

View file

@ -0,0 +1,17 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.my.services.gammastep;
in
{
options.my.services.gammastep.enable = mkEnableOption "gammastep";
config = lib.mkIf cfg.enable {
home-manager.users.moritz.services.gammastep = {
enable = true;
latitude = 52.3;
longitude = 12.4;
};
};
}

View file

@ -1,17 +0,0 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.my.services.redshift;
in
{
options.my.services.redshift.enable = mkEnableOption "redshift";
config = lib.mkIf cfg.enable {
services.redshift.enable = true;
location = {
latitude = 52.3;
longitude = 12.4;
};
};
}