home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 1d5e2b6bc8d23c20ffc5328c6de20dbfdcbc1c47
parent 65c5850d402c24c36b4171596bf7a3469322429a
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon,  1 Jul 2024 09:51:27 +0200

systems/wakasu: move clight only on wakasu

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/hosts/wakasu.nix | 4++++
Msystems/modules/hardware/laptop.nix | 3---
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/systems/hosts/wakasu.nix b/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"; diff --git a/systems/modules/hardware/laptop.nix b/systems/modules/hardware/laptop.nix @@ -33,9 +33,6 @@ in HandleLidSwitchExternalPower=ignore HandleLidSwitchDocked=ignore ''; - clight = { - enable = true; - }; }; } (mkIf config.modules.desktop.enable {