mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/lib: use new systemd.watchdog option
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
a79c662c7d
commit
3d8b5366a5
3 changed files with 3 additions and 10 deletions
|
@ -96,6 +96,9 @@ in {
|
|||
stateVersion = "20.03"; # Did you read the comment?
|
||||
};
|
||||
|
||||
# Make systemd manage the hardware watchdog.
|
||||
systemd.watchdog.runtimeTime = "60s";
|
||||
|
||||
users = {
|
||||
# Force declarative user configuration.
|
||||
mutableUsers = false;
|
||||
|
|
|
@ -68,11 +68,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# Make systemd manage the hardware watchdog.
|
||||
systemd.extraConfig = ''
|
||||
RuntimeWatchdogSec=60s
|
||||
'';
|
||||
|
||||
# Packages specific to this machine. The base package set is defined in
|
||||
# lib/system.nix.
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
@ -132,11 +132,6 @@ in {
|
|||
zfs.autoScrub.enable = true;
|
||||
};
|
||||
|
||||
# Make systemd manage the hardware watchdog.
|
||||
systemd.extraConfig = ''
|
||||
RuntimeWatchdogSec=60s
|
||||
'';
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
||||
# root SSH key for remote builds.
|
||||
|
|
Loading…
Reference in a new issue