diff --git a/hosts/vm-base.nix b/hosts/vm-base.nix index 1e57e16..3aac310 100644 --- a/hosts/vm-base.nix +++ b/hosts/vm-base.nix @@ -18,5 +18,8 @@ virtualisation = { memorySize = 4096; }; + virtualisation.forwardPorts = [ + { from = "host"; host.port = 2222; guest.port = 22; } + ]; }; }