forked from Drift/pvv-nixos-config
common/smartd: only run on non-virtualized hardware
It's still part of the simulation tho
This commit is contained in:
parent
0ed0a3a504
commit
6301688c95
@ -15,4 +15,6 @@
|
||||
environment.systemPackages = lib.optionals config.services.smartd.enable (with pkgs; [
|
||||
smartmontools
|
||||
]);
|
||||
|
||||
systemd.services.smartd.unitConfig.ConditionVirtualization = "no";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user