commit 0de91e44a5a3a016f5358b52233d10f2224d2068
parent 088d141b30571d4e46ab05bfb9811aff4a721145
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 23 Nov 2020 10:42:12 +0100
systems: HandleLidSwitchDocked=ignore to laptop
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/systems/modules/profiles/laptop.nix b/systems/modules/profiles/laptop.nix
@@ -24,5 +24,10 @@ in
acpi
];
systemd.services.nix-gc.unitConfig.ConditionACPower = true;
+ services = {
+ logind.extraConfig = ''
+ HandleLidSwitchDocked=ignore
+ '';
+ };
};
}