microvm: fix default mounts
This commit is contained in:
parent
48297fa980
commit
a623e00c57
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user