ma gum.r: move smartd monitor to hw-specific config
This commit is contained in:
parent
2dc05dbafb
commit
581245ed35
@ -32,8 +32,6 @@ in {
|
|||||||
# <stockholm/makefu/2configs/stats/netdata-server.nix>
|
# <stockholm/makefu/2configs/stats/netdata-server.nix>
|
||||||
|
|
||||||
<stockholm/makefu/2configs/headless.nix>
|
<stockholm/makefu/2configs/headless.nix>
|
||||||
<stockholm/makefu/2configs/smart-monitor.nix>
|
|
||||||
{ services.smartd.devices = builtins.map (x: { device = x; }) allDisks; }
|
|
||||||
|
|
||||||
# Security
|
# Security
|
||||||
<stockholm/makefu/2configs/sshd-totp.nix>
|
<stockholm/makefu/2configs/sshd-totp.nix>
|
||||||
|
@ -18,6 +18,9 @@ let
|
|||||||
ext-if = "et0"; # gets renamed on the fly
|
ext-if = "et0"; # gets renamed on the fly
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
<stockholm/makefu/2configs/smart-monitor.nix>
|
||||||
|
{ services.smartd.devices = builtins.map (x: { device = x; }) allDisks; }
|
||||||
|
|
||||||
];
|
];
|
||||||
makefu.server.primary-itf = ext-if;
|
makefu.server.primary-itf = ext-if;
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
Loading…
Reference in New Issue
Block a user