try to get vm-variant to use microvm?
This commit is contained in:
parent
4c23396e2e
commit
e7f14285ad
1 changed files with 2 additions and 7 deletions
|
|
@ -4,13 +4,6 @@ _: {
|
||||||
# virtualisation.diskImage = null;
|
# virtualisation.diskImage = null;
|
||||||
# Boot with tmpfs as root
|
# Boot with tmpfs as root
|
||||||
|
|
||||||
fileSystems."/" = {
|
|
||||||
fsType = "tmpfs";
|
|
||||||
options = [
|
|
||||||
"defaults"
|
|
||||||
"size=1024M"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
|
|
||||||
forwardPorts = [
|
forwardPorts = [
|
||||||
|
|
@ -22,6 +15,8 @@ _: {
|
||||||
];
|
];
|
||||||
graphics = false; # disables graphical output
|
graphics = false; # disables graphical output
|
||||||
memorySize = 1024;
|
memorySize = 1024;
|
||||||
|
diskImage = null;
|
||||||
|
# qemu.options = [ "-M microvm,x-option-roms=off,pit=off,pic=on,isa-serial=off" ];
|
||||||
};
|
};
|
||||||
services.getty = {
|
services.getty = {
|
||||||
autologinUser = "root";
|
autologinUser = "root";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue