From ac3f0d92d1f994a3be1543ccd16c8f94eef4d4cd Mon Sep 17 00:00:00 2001 From: RGBCube Date: Tue, 21 May 2024 21:32:56 +0300 Subject: [PATCH] Add gammastep config --- modules/hyprland/gammastep.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/hyprland/gammastep.nix diff --git a/modules/hyprland/gammastep.nix b/modules/hyprland/gammastep.nix new file mode 100644 index 0000000..fcba839 --- /dev/null +++ b/modules/hyprland/gammastep.nix @@ -0,0 +1,16 @@ +{ lib, ... }: with lib; merge + +(desktopSystemConfiguration { + services.geoclue2 = enabled { + appConfig.gammstep = { + isAllowed = true; + isSystem = false; + }; + }; +}) + +(desktopUserHomeConfiguration { + services.gammastep = enabled { + provider = "geoclue2"; + }; +})