Enable watchdog
This commit is contained in:
parent
172a7ffc24
commit
06c75eb3d9
@ -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
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