1
0
Fork 0

config: disable systemd emergency mode

This commit is contained in:
Astro 2022-12-31 02:44:41 +01:00
parent b6f4a0870b
commit da80baa204
1 changed files with 9 additions and 4 deletions

View File

@ -125,10 +125,15 @@ lib.mkMerge [
};
};
# Reboot on hang
systemd.watchdog = lib.mkIf (!config.boot.isContainer) {
runtimeTime = "15s";
rebootTime = "15s";
systemd = {
# Do not break the boot
enableEmergencyMode = false;
# Reboot on hang
watchdog = lib.mkIf (!config.boot.isContainer) {
runtimeTime = "15s";
rebootTime = "15s";
};
};
time.timeZone = lib.mkDefault "Europe/Berlin";