refactor(wayland.utility): utility modules, add gammastep/tools

This commit is contained in:
ooks-io 2024-04-01 18:06:05 +13:00
parent ed8bad82e2
commit ba410aa838
3 changed files with 58 additions and 44 deletions

View file

@ -0,0 +1,20 @@
{ lib, config, ... }:
let
cfg = config.homeModules.desktop.wayland.utility.gammastep;
in
{
config = lib.mkIf cfg.enable {
services.gammastep = {
enable = true;
enableVerboseLogging = true;
provider = "geoclue2";
temperature = {
day = 6000;
night = 4000;
};
settings.general.adjustment-method = "wayland";
};
};
}