1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 10:07:44 +00:00
ncc/modules/linux/hyprland/gammastep.nix
2025-02-23 21:42:19 +03:00

16 lines
333 B
Nix

{ config, lib, ... }: let
inherit (lib) enabled merge mkIf;
in merge <| mkIf config.isDesktop {
services.geoclue2 = enabled {
appConfig.gammastep = {
isAllowed = true;
isSystem = false;
};
};
home-manager.sharedModules = [{
services.gammastep = enabled {
provider = "geoclue2";
};
}];
}