Commit 1d5e2b6bc8d2

Vincent Demeester <vincent@sbr.pm>
2024-07-01 09:51:27
systems/wakasu: move clight only on wakasu
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 65c5850
Changed files (2)
systems
hosts
modules
hardware
systems/hosts/wakasu.nix
@@ -140,8 +140,12 @@ in
     go-org-readwise
   ];
 
+  location.provider = "geoclue2";
   services = {
     geoclue2.enable = true;
+    clight = {
+      enable = true;
+    };
     envfs.enable = false;
     # automatic login is "safe" as we ask for the encryption passphrase anyway..
     getty.autologinUser = "vincent";
systems/modules/hardware/laptop.nix
@@ -33,9 +33,6 @@ in
           HandleLidSwitchExternalPower=ignore
           HandleLidSwitchDocked=ignore
         '';
-	clight = {
-	  enable = true;
-	};
       };
     }
     (mkIf config.modules.desktop.enable {