mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-11 04:48:25 -07:00
add watchdog to homelab
This commit is contained in:
parent
c9c4afa59e
commit
a08e1a75e3
1 changed files with 7 additions and 0 deletions
|
|
@ -20,5 +20,12 @@
|
|||
config = {
|
||||
services.kopia-server.enable = true;
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
# Auto-reboot the system if it hangs (5 minute timeout)
|
||||
boot.kernelModules = [ "sp5100_tco" ];
|
||||
hardware.watchdog = {
|
||||
enable = true;
|
||||
timeout = 300;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue