common/smartd: only run on non-virtualized hardware

It's still part of the simulation tho
This commit is contained in:
Oystein Kristoffer Tveit 2024-12-09 21:03:50 +01:00
parent 0ed0a3a504
commit 6301688c95
Signed by untrusted user: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -15,4 +15,6 @@
environment.systemPackages = lib.optionals config.services.smartd.enable (with pkgs; [
smartmontools
]);
systemd.services.smartd.unitConfig.ConditionVirtualization = "no";
}