From 59f83dd5afe68ed7d48e090f62862c4730a6e696 Mon Sep 17 00:00:00 2001 From: clerie Date: Mon, 11 Mar 2024 20:42:17 +0100 Subject: [PATCH] configuration/desktop: hibernate on power button --- configuration/desktop/power.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/desktop/power.nix b/configuration/desktop/power.nix index 41f8355..aca3231 100644 --- a/configuration/desktop/power.nix +++ b/configuration/desktop/power.nix @@ -14,7 +14,7 @@ { settings = { "org/gnome/settings-daemon/plugins/power" = { - power-button-action = "nothing"; + power-button-action = "hibernate"; power-saver-profile-on-low-battery = false; sleep-inactive-ac-type = "nothing"; }; @@ -25,7 +25,7 @@ { settings = { "org/gnome/settings-daemon/plugins/power" = { - power-button-action = "nothing"; + power-button-action = "hibernate"; power-saver-profile-on-low-battery = false; sleep-inactive-ac-type = "nothing"; };