diff --git a/vm.nix b/vm.nix index ad42f1c..34c80df 100644 --- a/vm.nix +++ b/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 = {