From 4e3e8f8c0d4132e720076d050bfd0583fd10dc97 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 10 Oct 2023 14:29:31 -0500 Subject: [PATCH] Docker hosts --- modules/nixos/common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index 57b14be..870d404 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix @@ -161,6 +161,11 @@ allowedTCPPorts = lib.mkDefault []; allowedUDPPorts = lib.mkDefault []; }; + + extraHosts = '' + ::1 host.docker.internal + 127.0.0.1 host.docker.internal + ''; }; nix = {