1
Fork 0

vm: forward 8001

This commit is contained in:
Motiejus Jakštys 2024-01-16 23:54:24 +02:00
parent 8f2268782b
commit 18ef2f537b
1 changed files with 10 additions and 1 deletions

11
vm.nix
View File

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