Commit d2b56109fec5

Vincent Demeester <vincent@sbr.pm>
2026-09-08 17:22:04
fix(nix): remove unavailable Okinawa cache
The offline cache could delay or block builds and bootstrap operations. Retain Aion as the available local binary cache. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 9ec6eb5
Changed files (5)
imperative/aomi/bootstrap.sh
@@ -70,8 +70,6 @@ configure_nix() {
 		cat >"$nix_conf" <<-'EOF'
 			experimental-features = nix-command flakes
 			use-xdg-base-directories = true
-			extra-substituters = http://okinawa.vpn:5000
-			extra-trusted-public-keys = cache.okinawa.home:gp+IG0OaO4L/J0drL8OwmDtMPmdUq4kfLwg3mR8BkCs=
 		EOF
 		log_info "Nix config written to $nix_conf"
 	else
imperative/kyushu/bootstrap.sh
@@ -66,8 +66,6 @@ configure_nix() {
 		cat >"$nix_conf" <<-'EOF'
 			experimental-features = nix-command flakes
 			use-xdg-base-directories = true
-			extra-substituters = http://okinawa.vpn:5000
-			extra-trusted-public-keys = cache.okinawa.home:gp+IG0OaO4L/J0drL8OwmDtMPmdUq4kfLwg3mR8BkCs=
 		EOF
 		log_info "Nix config written to $nix_conf"
 	else
systems/common/fedora-work/gen-configs.nix
@@ -35,8 +35,6 @@ let
 
   nixCustomConf = pkgs.writeText "nix.custom.conf" ''
     trusted-users = root @wheel
-    extra-substituters = http://okinawa.vpn:5000
-    extra-trusted-public-keys = cache.okinawa.home:gp+IG0OaO4L/J0drL8OwmDtMPmdUq4kfLwg3mR8BkCs=
     connect-timeout = 5
     download-attempts = 2
   '';
systems/common/fedora-work/system.nix
@@ -34,8 +34,6 @@ in
     environment.etc."nix/nix.custom.conf" = {
       text = ''
         trusted-users = root @wheel
-        extra-substituters = http://okinawa.vpn:5000
-        extra-trusted-public-keys = cache.okinawa.home:gp+IG0OaO4L/J0drL8OwmDtMPmdUq4kfLwg3mR8BkCs=
         connect-timeout = 5
         download-attempts = 2
       '';
systems/default.nix
@@ -102,7 +102,6 @@
         "https://chapeau-rouge.cachix.org"
         "https://nixos-raspberrypi.cachix.org"
         # Local Harmonia binary caches
-        "http://okinawa.sbr.pm:5000" # x86_64-linux
         "http://aion.sbr.pm:5000" # aarch64-linux
       ];
       trusted-public-keys = [
@@ -112,7 +111,6 @@
         "vdemeester.cachix.org-1:eZWNOrLR9A9szeMahn9ENaoT9DB3WgOos8va+d2CU44="
         "nixos-raspberrypi.cachix.org-1:4iMO9LXa8BqhU+Rpg6LQKiGa2lsNh/j2oiYLNOQ5sPI="
         # Local Harmonia cache public keys
-        "cache.okinawa.home:gp+IG0OaO4L/J0drL8OwmDtMPmdUq4kfLwg3mR8BkCs="
         "cache.aion.home-1:VIbchtAJWf8+T46viAsLaQYDhG9KUGVo+vWxH1Tlz94="
       ];
     };