From 3155b96ce1e975ffef1ee97738fbb0220fc2fecf Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Wed, 26 Nov 2025 20:16:32 +0100 Subject: [PATCH] laptop: Fix renamed options --- hosts/laptop/hardware.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/laptop/hardware.nix b/hosts/laptop/hardware.nix index 658fdc8..211eb00 100644 --- a/hosts/laptop/hardware.nix +++ b/hosts/laptop/hardware.nix @@ -30,9 +30,9 @@ criticalPowerAction = "Hibernate"; }; - logind = { - powerKey = "suspend-then-hibernate"; - lidSwitch = "suspend-then-hibernate"; + logind.settings.Login = { + HandlePowerKey = "suspend-then-hibernate"; + HandleLidSwitch = "suspend-then-hibernate"; }; };