Enable watchdog

This commit is contained in:
Rodrigo Arias 2023-08-29 22:26:12 +02:00
parent 172a7ffc24
commit 06c75eb3d9
2 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,7 @@
./slurm.nix ./slurm.nix
./ssh.nix ./ssh.nix
./users.nix ./users.nix
./watchdog.nix
]; ];
nixpkgs.overlays = [ 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";
}