This commit is contained in:
Jermeiah S 2025-07-10 01:25:45 -04:00
commit dc5069e9b2
No known key found for this signature in database
7 changed files with 323 additions and 0 deletions

32
vm-variant.nix Normal file
View file

@ -0,0 +1,32 @@
_: {
virtualisation.vmVariant = {
# virtualisation.diskImage = null;
# Boot with tmpfs as root
fileSystems."/" = {
fsType = "tmpfs";
options = [
"defaults"
"size=1024M"
];
};
virtualisation = {
forwardPorts = [
{
from = "host";
host.port = 8888;
guest.port = 80;
}
];
graphics = false; # disables graphical output
memorySize = 1024;
};
users.users = {
root = {
password = "";
};
};
};
}