feat(desktop): replace redshift with gammastep
This commit is contained in:
parent
37c4cc70e3
commit
5c2cb5feb4
4 changed files with 19 additions and 19 deletions
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
17
modules/services/gammastep.nix
Normal file
17
modules/services/gammastep.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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 a new issue