From 9791c5ac22f2109e0a05ddaa2bccc55fe8e0d423 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 12 May 2024 03:14:39 +0100 Subject: [PATCH] wip: testing a better cache --- _scripts/upload_to_cache.sh | 11 ----------- flake.nix | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100755 _scripts/upload_to_cache.sh diff --git a/_scripts/upload_to_cache.sh b/_scripts/upload_to_cache.sh deleted file mode 100755 index b0e7204..0000000 --- a/_scripts/upload_to_cache.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -echo "here" -set -eu -set -f # disable globbing -export IFS=' ' - -echo "Uploading paths" $OUT_PATHS - - -#exec /nix/var/nix/profiles/default/bin/nix copy --to "https://nix-cache.skynet.ie" $OUT_PATHS diff --git a/flake.nix b/flake.nix index e24d906..d6e3238 100644 --- a/flake.nix +++ b/flake.nix @@ -13,8 +13,8 @@ */ nixConfig = { - extra-substituters = "https://nix-cache.skynet.ie"; - extra-trusted-public-keys = "nix-cache.skynet.ie:20/EYoy4VZJvM9QbtUozDSlUwZ7RemPCgc088VSB7+M="; + extra-substituters = "https://nix-cache.skynet.ie/skynet-cache"; + extra-trusted-public-keys = "skynet-cache:OdfA4Or0JcHiHf05fsiIR4nZT2z2yDEtkoLqhntGAz4="; }; outputs = { self, nixpkgs, utils, bfom }: utils.lib.eachDefaultSystem (system: