From 9fe9d0bb092e3b34fcf66b9734ba181c11afc586 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 4 Jan 2024 23:35:52 +0100 Subject: [PATCH] Enable networking for the container --- nixos/hosts/queen/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/hosts/queen/configuration.nix b/nixos/hosts/queen/configuration.nix index 68c3694..aca8cb0 100644 --- a/nixos/hosts/queen/configuration.nix +++ b/nixos/hosts/queen/configuration.nix @@ -128,6 +128,9 @@ # Enable networking networking.networkmanager.enable = true; + networking.nat.enable = true; + networking.nat.internalInterfaces = ["ve-+"]; + networking.nat.externalInterface = "ens18"; networking.firewall.enable = true;