From 89ac39789569bd7bc20390f8864728d4b2a1830f Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Fri, 28 May 2021 20:23:16 +0300 Subject: [PATCH] Add nat for containers --- modules/virtualisation.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/virtualisation.nix b/modules/virtualisation.nix index 5aced07..9bf7d73 100644 --- a/modules/virtualisation.nix +++ b/modules/virtualisation.nix @@ -4,4 +4,9 @@ enable = config.deviceSpecific.isHost; }; virtualisation.spiceUSBRedirection.enable = true; + + networking.nat = { + enable = true; + internalInterfaces = ["ve-+"]; + }; }