Enable watchdog

This commit is contained in:
Rodrigo Arias 2023-08-29 22:26:12 +02:00
parent 7d09108c9f
commit 3c99c2a662
2 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,7 @@
./slurm.nix
./ssh.nix
./users.nix
./watchdog.nix
];
nixpkgs.overlays = [

9
m/common/watchdog.nix Normal file
View File

@ -0,0 +1,9 @@
{ ... }:
{
# The boards have a BMC watchdog controlled by IPMI
boot.kernelModules = [ "ipmi_watchdog" ];
# Enable systemd watchdog with 30 s interval
systemd.watchdog.runtimeTime = "30s";
}