Skip to content

Commit

Permalink
shares: move the shares from generic to profile
Browse files Browse the repository at this point in the history
The appvms that are enabled are defined by the profile so this is where
the common shared directories for those vms should be declared.

Signed-off-by: Brian McGillion <[email protected]>
  • Loading branch information
brianmcgillion committed Mar 8, 2025
1 parent 56370f3 commit 7c55c58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 0 additions & 5 deletions modules/reference/profiles/laptop-x86.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ in
networkSupport = true;
sharedVmDirectory = {
enable = true;
vms = [
"business-vm"
"comms-vm"
"chrome-vm"
];
};
};

Expand Down
8 changes: 7 additions & 1 deletion modules/reference/profiles/mvp-user-trial.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ in
};
};

# Enable shared directories for the selected VMs
virtualization.microvm-host.sharedVmDirectory.vms = [
"business-vm"
"comms-vm"
"chrome-vm"
];

reference = {
appvms = {
enable = true;
Expand All @@ -37,7 +44,6 @@ in
zathura-vm = true;
comms-vm = true;
business-vm = true;

};

services = {
Expand Down

0 comments on commit 7c55c58

Please sign in to comment.