diff options
| author | Baitinq <[email protected]> | 2025-09-07 12:29:19 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-09-07 12:29:19 +0200 |
| commit | 6310eec14081b212541d9c297e0ea1e4ad1f1af5 (patch) | |
| tree | b85d41ac55345b44f4dfcc1d78cb4ae87ddaa20c /hosts/luna | |
| parent | Hardware: PC: Wake on Lan (diff) | |
| download | nixos-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.nix | 6 |
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; [ |