Removed: ToDos already done, Removed: Build VM Overrides for Server testing

This commit is contained in:
2026-05-31 10:31:13 +02:00
parent 0cf4401813
commit 48eedcabd3
3 changed files with 1 additions and 37 deletions
-30
View File
@@ -57,36 +57,6 @@
};
};
# TODO: Get rid of this
virtualisation = lib.mkIf isServer {
vmVariant = {
virtualisation = {
forwardPorts = [
{
from = "host";
host.port = 2222;
guest.port = 22;
}
];
qemu.networkingOptions = [
"-device virtio-net-pci,netdev=net0"
"-netdev user,id=net0,net=10.0.2.0/24,dhcpstart=10.0.2.15"
];
};
systemd.network.networks."10-ethernet" = lib.mkForce {
matchConfig.Name = "ens*";
networkConfig = {
Address = "10.0.2.15/24";
Gateway = "10.0.2.2";
DNS = "8.8.8.8";
DHCP = "no";
};
};
};
};
documentation = {
enable = true;
doc.enable = false;