summaryrefslogtreecommitdiffstats
path: root/1systems
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-03-28 18:04:24 +0200
committermakefu <github@syntax-fehler.de>2022-03-28 18:04:24 +0200
commit9c71c51129ef5ae7be90fb0723423245d805d994 (patch)
treea52d2bec2b7017a8da6f10ba7f88db5972c67cb8 /1systems
parentdb13390dda88924b085fcba27486daf2b38db0dd (diff)
ma gum.r: move smartd monitor to hw-specific config
Diffstat (limited to '1systems')
-rw-r--r--1systems/gum/config.nix2
-rw-r--r--1systems/gum/hetzner/default.nix (renamed from 1systems/gum/hardware-config.nix)3
2 files changed, 3 insertions, 2 deletions
diff --git a/1systems/gum/config.nix b/1systems/gum/config.nix
index 540106004..0cdfcda4b 100644
--- a/1systems/gum/config.nix
+++ b/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/1systems/gum/hardware-config.nix b/1systems/gum/hetzner/default.nix
index 1881329ce..7d445879a 100644
--- a/1systems/gum/hardware-config.nix
+++ b/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 = ''
[cgit] Unable to lock slot /tmp/cgit/30200000.lock: No such file or directory (2)