1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

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, config,
inputs,
lib,
nixos-hardware, nixos-hardware,
pkgs, pkgs,
... ...

View file

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