UPS: shutdown later

This commit is contained in:
Alexander Bantyev 2021-12-05 15:02:29 +03:00
parent 8a2266fe75
commit c6fc7033d2
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -20,9 +20,18 @@
ram = 32;
};
deviceSpecific.isHost = true;
services.apcupsd.enable = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
services.apcupsd = {
enable = false;
configText = ''
UPSTYPE usb
NISIP 127.0.0.1
BATTERYLEVEL 10
MINUTES 1
'';
};
secrets.wireguard-wg0 = { };
environment.sessionVariables.WINEPREFIX = "/home/balsoft/.local/share/wineprefixes/default";