diff options
-rw-r--r-- | machines/devhell/herja.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/machines/devhell/herja.nix b/machines/devhell/herja.nix index f24f5b7e..c086a7ec 100644 --- a/machines/devhell/herja.nix +++ b/machines/devhell/herja.nix @@ -127,6 +127,16 @@ services.tlp.enable = true; services.illum.enable = true; services.fwupd.enable = true; + services.acpid = { + enable = true; + handlers = { + mutebutton = { + action = "${pkgs.pulseaudioLight}/bin/pactl set-source-mute 1 toggle"; + event = "button/f20.*"; + }; + }; + logEvents = true; + }; services.xserver = { enable = true; |