fix powerbutton - 2

This commit is contained in:
2025-05-03 11:06:52 +02:00
parent 1e66437e04
commit 228215db5e
7 changed files with 16 additions and 14 deletions

View File

@@ -186,6 +186,12 @@
# Disable powerbutton => for use with eww
services.logind.extraConfig = ''HandlePowerKey=ignore'';
services.acpid.enable = true;
environment.etc = {
"acpi/events/power".text = ''
event=button/power.*
action=/home/elias/eww/scripts/powermenu.sh
'';
};
# Set stateVersion. Leave it as set.
system.stateVersion = "23.11";