1
0
Fork 0

hosts/hydra-1,hosts/hydra-2: Allow github uri in restricted mode

This commit is contained in:
clerie 2024-04-07 20:03:10 +02:00
parent 314c1a6e28
commit 5aac90a1fa
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://";
settings.allowed-uris = "http:// 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://";
nix.settings.allowed-uris = "http:// https:// github:";
services.openssh.settings= {
PermitRootLogin = "yes";