Remove geoclue and gammastep modules

This commit is contained in:
SebastianStork 2025-09-24 14:57:51 +02:00
parent 9ea6397786
commit 517310cf86
5 changed files with 0 additions and 43 deletions

View file

@ -1,25 +0,0 @@
{ 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 Geoclue2";
}
];
services.gammastep = {
enable = true;
provider = "geoclue2";
settings.general.adjustment-method = "wayland";
temperature.night = 2700;
};
};
}