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 = {
|
||||||
systemd.watchdog = lib.mkIf (!config.boot.isContainer) {
|
# Do not break the boot
|
||||||
runtimeTime = "15s";
|
enableEmergencyMode = false;
|
||||||
rebootTime = "15s";
|
|
||||||
|
# Reboot on hang
|
||||||
|
watchdog = lib.mkIf (!config.boot.isContainer) {
|
||||||
|
runtimeTime = "15s";
|
||||||
|
rebootTime = "15s";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
time.timeZone = lib.mkDefault "Europe/Berlin";
|
time.timeZone = lib.mkDefault "Europe/Berlin";
|
||||||
|
|
Loading…
Reference in New Issue