1
0

hosts/hydra-1,hosts/hydra-2: Allow http as schema in restricted mode and not only as prefix

This commit is contained in:
clerie 2024-04-07 20:36:50 +02:00
parent 5aac90a1fa
commit 0b7f25e017
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: 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: github:";
services.openssh.settings= {
PermitRootLogin = "yes";