commit dd86a26927f3b682c1df9714ba608d912d5b0847
parent 038aefc3f78f4393eecf92066b1dbf938c5f2b35
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 17 May 2022 18:19:44 +0200
naruhodo: do not sleep if docked or with power
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/systems/hosts/naruhodo.nix b/systems/hosts/naruhodo.nix
@@ -132,6 +132,10 @@ in
];
services = {
+ logind.extraConfig = ''
+ HandleLidSwitchExternalPower=ignore
+ HandleLidSwitchDocked=ignore
+ '';
wireguard = {
enable = true;
ips = [ "${metadata.hosts.naruhodo.wireguard.addrs.v4}/24" ];