From 454249c104093e80561cd85c949dbe7fc2fc38b7 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Wed, 2 Oct 2024 18:31:10 +0200 Subject: [PATCH] hosts/vm-base: expose ssh port --- hosts/vm-base.nix | 3 +++ 1 file changed, 3 insertions(+) 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; } + ]; }; }