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
commit57264b76503386e086cc4bb4d5f138bb2cb94856 (patch)
treebb015afa67b559cd8ef758c5cef4e8c78472c874
parentc9da4d8358646425c01dfb82eb0c3e8d7ae3a0d1 (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 fe4a6e4c5..b52ab0fa5 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;