mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-11 01:12:01 +01:00
aff0158ef7
Signed-off-by: magic_rb <magic_rb@redalder.org>
6 lines
262 B
Nix
6 lines
262 B
Nix
{...}: {
|
|
systemd.watchdog.runtimeTime = "60s";
|
|
systemd.watchdog.rebootTime = "3m";
|
|
systemd.watchdog.kexecTime = "5m";
|
|
systemd.services."emergency".serviceConfig.ExecStartPre = "/bin/sh -c \"read -t 30 || /run/current-system/sw/bin/systemctl reboot\"";
|
|
}
|