diff --git a/hosts/nixos/thinkpad/system.nix b/hosts/nixos/thinkpad/system.nix index 14cebbb..38860f9 100644 --- a/hosts/nixos/thinkpad/system.nix +++ b/hosts/nixos/thinkpad/system.nix @@ -105,12 +105,10 @@ lidSwitch = "ignore"; lidSwitchExternalPower = "ignore"; lidSwitchDocked = "ignore"; - extraConfig = '' - HandlePowerKey=ignore - HandleSuspendKey=ignore - HandleHibernateKey=ignore - IdleAction=ignore - ''; + powerKey = "ignore"; + suspendKey = "ignore"; + hibernateKey = "ignore"; + settings.Login.IdleAction = "ignore"; }; # Thermal management