magpie/systemd: disable sleep, emergencymode; setup watchdog

This commit is contained in:
2023-11-06 22:16:41 +01:00
parent bca4baf226
commit 2f3c3f3f0c

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";
}