commit 375e468d839c90a26cfd25ec8b63176c56258c20
parent ecc7891fc92efd9e3af46e66615551471e9e09ec
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 11 Mar 2022 09:48:27 +0100
systems/aomi: enable netdata and ignore lid
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/systems/hosts/aomi.nix b/systems/hosts/aomi.nix
@@ -130,6 +130,12 @@ in
];
services = {
+ netdata.enable = true;
+ logind.extraConfig = ''
+ HandleLidSwitch=ignore
+ HandleLidSwitchExternalPower=ignore
+ HandleLidSwitchDocked=ignore
+ '';
syncthing.guiAddress = "${metadata.hosts.aomi.wireguard.addrs.v4}:8384";
smartd = {
enable = true;