hosts/hydra-1,hosts/hydra-2: Allow git via http in restricted mode
This commit is contained in:
parent
0b7f25e017
commit
128f2360c7
@ -26,7 +26,7 @@
|
|||||||
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" ];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
settings.allowed-uris = "http: https: github:";
|
settings.allowed-uris = "http: https: git+https: github:";
|
||||||
distributedBuilds = true;
|
distributedBuilds = true;
|
||||||
buildMachines = [
|
buildMachines = [
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
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
|
# 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= {
|
services.openssh.settings= {
|
||||||
PermitRootLogin = "yes";
|
PermitRootLogin = "yes";
|
||||||
|
Loading…
Reference in New Issue
Block a user