diff options
author | makefu <github@syntax-fehler.de> | 2022-03-28 18:04:24 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2022-03-28 18:04:24 +0200 |
commit | 581245ed35bde63a8691c5f5a059cc647b2e88ec (patch) | |
tree | d348ea0ff80b15b592c00ef5ef82860525ccd6ae | |
parent | 2dc05dbafbd5490be6a9754a55679a6576efbad1 (diff) |
ma gum.r: move smartd monitor to hw-specific config
-rw-r--r-- | makefu/1systems/gum/config.nix | 2 | ||||
-rw-r--r-- | makefu/1systems/gum/hetzner/default.nix (renamed from makefu/1systems/gum/hardware-config.nix) | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/makefu/1systems/gum/config.nix b/makefu/1systems/gum/config.nix index 540106004..0cdfcda4b 100644 --- a/makefu/1systems/gum/config.nix +++ b/makefu/1systems/gum/config.nix @@ -32,8 +32,6 @@ in { # <stockholm/makefu/2configs/stats/netdata-server.nix> <stockholm/makefu/2configs/headless.nix> - <stockholm/makefu/2configs/smart-monitor.nix> - { services.smartd.devices = builtins.map (x: { device = x; }) allDisks; } # Security <stockholm/makefu/2configs/sshd-totp.nix> diff --git a/makefu/1systems/gum/hardware-config.nix b/makefu/1systems/gum/hetzner/default.nix index 1881329ce..7d445879a 100644 --- a/makefu/1systems/gum/hardware-config.nix +++ b/makefu/1systems/gum/hetzner/default.nix @@ -18,6 +18,9 @@ let ext-if = "et0"; # gets renamed on the fly in { imports = [ + <stockholm/makefu/2configs/smart-monitor.nix> + { services.smartd.devices = builtins.map (x: { device = x; }) allDisks; } + ]; makefu.server.primary-itf = ext-if; services.udev.extraRules = '' |