@ -8,6 +8,8 @@
}:
let
cfg = config.x-banananetwork.vmCommon;
inherit (builtins) genList;
inherit (lib.trivial) flip;
in
{
@ -162,6 +164,14 @@ in
openFirewall = true;
};
smartd = {
# ignore QEMU drives
devices = flip genList 9 (n: {
device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi${toString n}";
options = "-d ignore";
});
system.autoUpgrade = {