diff --git a/flake.nix b/flake.nix index f14fc8a..e00a5f6 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "Timo's Shared Nix Modules"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; }; outputs = { self, nixpkgs, ... }: { diff --git a/system/linux/system.nix b/system/linux/system.nix index 90cfa32..1db2bb4 100644 --- a/system/linux/system.nix +++ b/system/linux/system.nix @@ -17,9 +17,4 @@ security.pam.loginLimits = [ { domain = "*"; item = "core"; type = "hard"; value = "0"; } ]; - - # Don't shutdown when power button is short-pressed. - services.logind.extraConfig = '' - HandlePowerKey=ignore - ''; }