From 6301688c95e187e983115f5dd15b096518e19ccb Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 9 Dec 2024 21:03:50 +0100 Subject: [PATCH] common/smartd: only run on non-virtualized hardware It's still part of the simulation tho --- base/services/smartd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/services/smartd.nix b/base/services/smartd.nix index 36a22ed..75eaa0e 100644 --- a/base/services/smartd.nix +++ b/base/services/smartd.nix @@ -15,4 +15,6 @@ environment.systemPackages = lib.optionals config.services.smartd.enable (with pkgs; [ smartmontools ]); + + systemd.services.smartd.unitConfig.ConditionVirtualization = "no"; }