microvm: fix default mounts

This commit is contained in:
Sandro - 2024-01-07 18:06:27 +01:00
parent 48297fa980
commit a623e00c57
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,6 @@ in
mounts = mkOption { mounts = mkOption {
description = "Persistent filesystems to create, without leading /."; description = "Persistent filesystems to create, without leading /.";
type = with types; listOf str; type = with types; listOf str;
default = [ "etc" "home" "var" ];
}; };
mountBase = mkOption { mountBase = mkOption {
@ -67,6 +66,8 @@ in
}; };
config = { config = {
c3d2.deployment.mounts = [ "etc" "home" "var" ];
microvm = { microvm = {
hypervisor = lib.mkDefault "cloud-hypervisor"; hypervisor = lib.mkDefault "cloud-hypervisor";
mem = lib.mkDefault 512; mem = lib.mkDefault 512;