From 57264b76503386e086cc4bb4d5f138bb2cb94856 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 26 Jan 2023 14:40:40 +0100 Subject: tv winmax2: prevent logind from handling powerkey --- tv/2configs/hw/winmax2.nix | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3