From d33106fe9cecb6a5cc7d28f4c73c7cb87110350c Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sun, 24 Oct 2021 13:38:45 +0200 Subject: [PATCH] mashu: FIx powerbutton --- hosts/mashu.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/mashu.nix b/hosts/mashu.nix index e686933..a8fefb5 100644 --- a/hosts/mashu.nix +++ b/hosts/mashu.nix @@ -50,6 +50,9 @@ in mkHost config { }; services.gnome.gnome-settings-daemon.enable = true; + services.logind.extraConfig = '' + HandlePowerKey=suspend + ''; systemd.user.services = { gsd-media = { description = "GSD media keys handling";