Setup gammastep

This commit is contained in:
SebastianStork 2024-06-09 11:59:53 +02:00
parent 400e04019c
commit dfed3e9f53
4 changed files with 27 additions and 0 deletions

View file

@ -14,5 +14,6 @@
./printing.nix
./syncthing.nix
./nix-helper.nix
./night-light.nix
];
}

View file

@ -0,0 +1,24 @@
{ config, lib, ... }:
{
options.myConfig.night-light.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.night-light.enable {
services.geoclue2 = {
enable = true;
appConfig.gammastep = {
isAllowed = true;
isSystem = false;
};
};
home-manager.sharedModules = [
{
services.gammastep = {
enable = true;
provider = "geoclue2";
settings.general.adjustment-method = "wayland";
};
}
];
};
}