Enable watchdog
This commit is contained in:
parent
7d09108c9f
commit
3c99c2a662
@ -10,6 +10,7 @@
|
||||
./slurm.nix
|
||||
./ssh.nix
|
||||
./users.nix
|
||||
./watchdog.nix
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
|
9
m/common/watchdog.nix
Normal file
9
m/common/watchdog.nix
Normal 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";
|
||||
}
|
Loading…
Reference in New Issue
Block a user