vm: forward 8001
This commit is contained in:
parent
8f2268782b
commit
18ef2f537b
11
vm.nix
11
vm.nix
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue