fix: mount vm datasets under /vms to avoid accidental shadowing on creation

This commit is contained in:
oddlama 2023-05-21 23:39:53 +02:00
parent bd8a14deb0
commit ec3b34a368
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 2 additions and 4 deletions

View file

@ -1,7 +1,5 @@
{
config,
inputs,
lib,
nixos-hardware,
pkgs,
...

View file

@ -437,8 +437,8 @@ in {
mountpoint = mkOption {
type = types.str;
default = "/persist/vms/${name}";
description = mdDoc "The host's mountpoint for the vm's dataset (will be shared via virtofs as /persist in the vm)";
default = "/vms/${name}";
description = mdDoc "The host's mountpoint for the vm's dataset (will be shared via virtiofs as /persist in the vm)";
};
};