feat(desktop): replace redshift with gammastep
parent
37c4cc70e3
commit
5c2cb5feb4
|
@ -97,7 +97,7 @@ with lib; {
|
|||
mullvad.enable = true;
|
||||
openconnect.enable = true;
|
||||
printing.enable = true;
|
||||
redshift.enable = true;
|
||||
gammastep.enable = true;
|
||||
wireguard.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
./openconnect.nix
|
||||
./picom.nix
|
||||
./printing.nix
|
||||
./redshift.nix
|
||||
./gammastep.nix
|
||||
./wireguard.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue