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