1

vm: forward 8001

This commit is contained in:
Motiejus Jakštys 2024-01-16 23:54:24 +02:00
parent 8f2268782b
commit 18ef2f537b

11
vm.nix
View File

@ -29,7 +29,16 @@
hashedPassword = ""; hashedPassword = "";
}; };
}; };
virtualisation.graphics = false; virtualisation = {
graphics = false;
forwardPorts = [
{
from = "host";
host.port = 8001;
guest.port = 8001;
}
];
};
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
services.getty.autologinUser = "nixos"; services.getty.autologinUser = "nixos";
networking = { networking = {