From 1a3486d77574c06b395ab6cda41084f5ed24a3f4 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 16 Jan 2025 02:11:26 -0800 Subject: modularized nix configuration; builds correctly --- nix/modules/home/gammastep.nix | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'nix/modules/home/gammastep.nix') diff --git a/nix/modules/home/gammastep.nix b/nix/modules/home/gammastep.nix index 97f7660..ae9d111 100644 --- a/nix/modules/home/gammastep.nix +++ b/nix/modules/home/gammastep.nix @@ -1,18 +1,20 @@ { lib, config, ... }: { - enable = lib.mkDefault config.monorepo.profiles.home.enable; - provider = "manual"; - latitude = 49.282730; - longitude = -123.120735; - - temperature = { - day = 5000; - night = 3000; - }; + services.gammastep = { + enable = true; + provider = "manual"; + latitude = 49.282730; + longitude = -123.120735; + + temperature = { + day = 5000; + night = 3000; + }; - settings = { - general = { - adjustment-method = "wayland"; + settings = { + general = { + adjustment-method = "wayland"; + }; }; }; } -- cgit