diff --git a/config/config.nix b/config/config.nix index 5662768..89846c1 100644 --- a/config/config.nix +++ b/config/config.nix @@ -28,6 +28,14 @@ in networking.wireless.enable = false; networking.networkmanager.enable = true; + # Power button settings + services.logind = { + extraConfig = '' + HandlePowerKey=ignore + HandlePowerKeyLongPress=poweroff + ''; + }; + # Set your time zone. time.timeZone = "America/New_York";