Compare commits

..

No commits in common. "b26aa2aa23f3921fcbf2259971dae0fd668abf9e" and "587caf262e7154c2da58229cfbad00fee4b5503a" have entirely different histories.

5 changed files with 1 additions and 13 deletions

View File

@ -38,7 +38,7 @@ in
proxy_redirect http:// $scheme://; proxy_redirect http:// $scheme://;
} }
location /cache { location /cache {
rewrite ^/cache/(.*) /$1 break; rewrite ^/cache(.*) /$1 break;
proxy_pass http://127.0.0.1:5000; proxy_pass http://127.0.0.1:5000;
proxy_redirect http:// $scheme://; proxy_redirect http:// $scheme://;
} }

View File

@ -1,9 +0,0 @@
{ config, ... }:
# Don't add hut as a cache to itself
assert config.networking.hostName != "hut";
{
nix.settings = {
substituters = [ "https://jungle.bsc.es/cache" ];
trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ];
};
}

View File

@ -8,7 +8,6 @@
../module/slurm-client.nix ../module/slurm-client.nix
../module/slurm-firewall.nix ../module/slurm-firewall.nix
../module/debuginfod.nix ../module/debuginfod.nix
../module/hut-substituter.nix
]; ];
# Select the this using the ID to avoid mismatches # Select the this using the ID to avoid mismatches

View File

@ -8,7 +8,6 @@
../module/slurm-client.nix ../module/slurm-client.nix
../module/slurm-firewall.nix ../module/slurm-firewall.nix
../module/debuginfod.nix ../module/debuginfod.nix
../module/hut-substituter.nix
]; ];
# Select the this using the ID to avoid mismatches # Select the this using the ID to avoid mismatches

View File

@ -3,7 +3,6 @@
{ {
imports = [ imports = [
../common/base.nix ../common/base.nix
../module/hut-substituter.nix
]; ];
# Don't install Grub on the disk yet # Don't install Grub on the disk yet