forked from c3d2/nix-config
config: disable systemd emergency mode
This commit is contained in:
parent
b6f4a0870b
commit
da80baa204
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue