1
0

hosts/hydra: add http to restricted mode allow urls

This commit is contained in:
clerie 2022-10-02 22:12:19 +02:00
parent a715d55d96
commit 3d48949629

View File

@ -21,6 +21,9 @@
networking.defaultGateway = { address = "192.168.10.1"; interface = "ens19"; }; 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" ]; 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 = { services.hydra = {
enable = true; enable = true;
port = 3001; port = 3001;