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:
parent
bd8a14deb0
commit
ec3b34a368
2 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
|
|
@ -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)";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue