summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-01-26 14:40:40 +0100
committertv <tv@krebsco.de>2023-01-26 15:36:39 +0100
commitb3f4a6f8e871c85adee3cde4c75387b3f99c281b (patch)
tree3c8cd0a34bd6ae34591f6b459aa327dbc1338708
parent3c84fe3056569d8077af21a4867070702e57ed87 (diff)
tv winmax2: prevent logind from handling powerkey
-rw-r--r--tv/2configs/hw/winmax2.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tv/2configs/hw/winmax2.nix b/tv/2configs/hw/winmax2.nix
index fe4a6e4..b52ab0f 100644
--- a/tv/2configs/hw/winmax2.nix
+++ b/tv/2configs/hw/winmax2.nix
@@ -32,6 +32,10 @@
services.illum.enable = true;
+ services.logind.extraConfig = /* ini */ ''
+ HandlePowerKey=ignore
+ '';
+
tv.lidControl.enable = true;
tv.hw.screens.primary.width = 2560;