magpie/systemd: disable sleep, emergencymode; setup watchdog

This commit is contained in:
Asmir A 2023-11-06 22:16:41 +01:00
parent bca4baf226
commit 2f3c3f3f0c
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -249,5 +249,19 @@
networking.networkmanager.enable = true;
networking.wireless.enable = false;
systemd = {
enableEmergencyMode = false;
watchdog = {
runtimeTime = "20s";
rebootTime = "30s";
};
sleep.extraConfig = ''
AllowSuspend=no
AllowHibernation=no
'';
};
system.stateVersion = "22.11";
}