Enable watchdog
This commit is contained in:
		
							parent
							
								
									eac4c60e1a
								
							
						
					
					
						commit
						ad491140f4
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user