From fbef60be21d8bf20da66a58b255ee731beb0b596 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Thu, 11 Jan 2024 01:50:31 +0100 Subject: [PATCH] hosts: smartd only activated on thinknix --- common/default.nix | 6 ------ hosts/thinknix/storage.nix | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/common/default.nix b/common/default.nix index 31c6593..cc698e4 100644 --- a/common/default.nix +++ b/common/default.nix @@ -196,12 +196,6 @@ in # profile sync daemon services.psd.enable = true; - services.smartd = - { - enable = true; - devices = [{ device = "/dev/sda"; } { device = "/dev/sdb"; }]; - }; - fonts = { fontDir.enable = true; fontconfig.enable = true; diff --git a/hosts/thinknix/storage.nix b/hosts/thinknix/storage.nix index 557db3f..358370f 100644 --- a/hosts/thinknix/storage.nix +++ b/hosts/thinknix/storage.nix @@ -64,4 +64,9 @@ in boot.tmp.useTmpfs = true; fileSystems."/tmp".fsType = "tmpfs"; + services.smartd = + { + enable = true; + devices = [{ device = "/dev/sda"; } { device = "/dev/sdb"; }]; + }; }