Skip to content

Commit

Permalink
Fix missing volume decls for user VM pool
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed May 9, 2024
1 parent 4dfbdef commit 32825a8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions user-machines/vm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,13 @@ in
name = "acm-vm-pool";
type = "dir";
target.path = self.poolDirectory;
volumes = (map (user: {
present = !userIsDeleted user;
definition = virtlib.volume.writeXML {
name = "${user.uuid}.raw";
target.format.type = "raw";
};
}) self.users);
};
}
];
Expand Down

0 comments on commit 32825a8

Please sign in to comment.