1
0
Fork 0

hosts/hydra-1,hosts/hydra-2: Allow git via http in restricted mode

This commit is contained in:
clerie 2024-04-08 08:16:29 +02:00
parent 0b7f25e017
commit 128f2360c7
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
nix = {
settings.allowed-uris = "http: https: github:";
settings.allowed-uris = "http: https: git+https: github:";
distributedBuilds = true;
buildMachines = [
{

View File

@ -26,7 +26,7 @@
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: github:";
nix.settings.allowed-uris = "http: https: git+https: github:";
services.openssh.settings= {
PermitRootLogin = "yes";