From 3d48949629c4c4bd49859bcea6e77375ea5a499a Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 2 Oct 2022 22:12:19 +0200 Subject: [PATCH] hosts/hydra: add http to restricted mode allow urls --- hosts/hydra-1/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/hydra-1/configuration.nix b/hosts/hydra-1/configuration.nix index efb504b..c2de55c 100644 --- a/hosts/hydra-1/configuration.nix +++ b/hosts/hydra-1/configuration.nix @@ -21,6 +21,9 @@ networking.defaultGateway = { address = "192.168.10.1"; interface = "ens19"; }; networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ]; + # Allow Hydra to fetch remote URLs in restricted mode + nix.settings.allowed-uris = "http:// https://"; + services.hydra = { enable = true; port = 3001;