Move modules in programs/services subfolders

This commit is contained in:
SebastianStork 2025-05-28 11:33:05 +02:00
parent 2ff87c8404
commit 211ca98e92
38 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ config, lib, ... }@moduleArgs:
{
options.custom.services.gammastep.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.services.gammastep.enable {
assertions = [
{
assertion =
let
inherit (moduleArgs.osConfig.services) geoclue2;
in
geoclue2.enable or true && geoclue2.appConfig.gammastep.isAllowed or true;
message = "gammastep requires geoclue";
}
];
services.gammastep = {
enable = true;
provider = "geoclue2";
settings.general.adjustment-method = "wayland";
temperature.night = 2700;
};
};
}