From cf2f0e625c04854e8353ad6672485ae7894d2af7 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 12 Apr 2023 23:27:20 +0200 Subject: [PATCH] modules/hyprspace: allow access to DNS servers --- modules/hyprspace/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/hyprspace/default.nix b/modules/hyprspace/default.nix index 3471197..fe4efbf 100644 --- a/modules/hyprspace/default.nix +++ b/modules/hyprspace/default.nix @@ -25,6 +25,7 @@ let privateKeyFile = config.age.secrets.hyprspace-key.path; runConfig = "/run/hyprspace.yml"; + nameservers = lib.unique config.networking.nameservers; in { networking.hosts = lib.mapAttrs' (k: v: lib.nameValuePair v.hyprspace.addr [k "${k}.hypr"]) hyprspaceCapableNodes; age.secrets.hyprspace-key = { @@ -66,6 +67,7 @@ in { "fc00::/7" "fe80::/10" ]; + IPAddressAllow = nameservers; }; }; networking.firewall = {