🔨」 fix: fixed vm now virtualbox is working

This commit is contained in:
2025-08-29 13:45:51 +02:00
parent 24a8d64baa
commit 6aad048a9f
2 changed files with 19 additions and 1 deletions

View File

@ -35,7 +35,12 @@
};
format = "vm";
};
vm = generate-vm [ ./configuration.nix ];
vm = generate-vm [
./configuration.nix
{
virtualisation.diskSize = 20 * 1024;
}
];
in
{
inherit vm;
@ -59,6 +64,7 @@
-enable-kvm \
-m 8G \
-smp 4\
-cpu host \
-virtfs local,path=$(${pkgs.coreutils}/bin/pwd)/..,mount_tag=host0,security_model=mapped-xattr,id=host0
'';
in
@ -76,6 +82,7 @@
-nographic \
-m 8G \
-smp 4 \
-cpu host \
-virtfs local,path=$(${pkgs.coreutils}/bin/pwd)/..,mount_tag=host0,security_model=mapped-xattr,id=host0
'';
in