about summary refs log tree commit diff
path: root/hosts/luna
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-09-07 12:29:19 +0200
committerBaitinq <[email protected]>2025-09-07 12:29:19 +0200
commit6310eec14081b212541d9c297e0ea1e4ad1f1af5 (patch)
treeb85d41ac55345b44f4dfcc1d78cb4ae87ddaa20c /hosts/luna
parentHardware: PC: Wake on Lan (diff)
downloadnixos-config-6310eec14081b212541d9c297e0ea1e4ad1f1af5.tar.gz
nixos-config-6310eec14081b212541d9c297e0ea1e4ad1f1af5.tar.bz2
nixos-config-6310eec14081b212541d9c297e0ea1e4ad1f1af5.zip
Hosts: Luna: Fix luna config
Diffstat (limited to 'hosts/luna')
-rw-r--r--hosts/luna/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/hosts/luna/default.nix b/hosts/luna/default.nix
index a7482ab..2687be1 100644
--- a/hosts/luna/default.nix
+++ b/hosts/luna/default.nix
@@ -13,10 +13,8 @@
   services = {
     # Configure keymap in X11
     xserver.xkb.layout = "us";
-    logind.extraConfig = ''
-      # don’t shutdown when power button is short-pressed
-      HandlePowerKey=ignore
-    '';
+    # don’t shutdown when power button is short-pressed
+    logind.settings.Login.HandlePowerKey = "ignore";
   };
 
   environment.systemPackages = with pkgs; [