From 9d4a1725d9c655c86cf8e85ad2412816507fe88a Mon Sep 17 00:00:00 2001 From: quirinecker Date: Wed, 21 Oct 2026 16:27:58 +0200 Subject: [PATCH] readded the configuration back that made the power button not turn the computer off instantly --- modules/hardware/power_button.nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 modules/hardware/power_button.nix diff --git a/modules/hardware/power_button.nix b/modules/hardware/power_button.nix new file mode 100644 index 0000000..aad7062 --- /dev/null +++ b/modules/hardware/power_button.nix @@ -0,0 +1,6 @@ +{ ... }: +{ + flake.modules.nixos.power-button = { + services.logind.settings.Login.HandlePowerKey = "ignore"; + }; +}