wip: testing a better cache

This commit is contained in:
silver 2024-05-12 03:14:39 +01:00
parent 4be96d60b2
commit 9791c5ac22
Signed by untrusted user: silver
GPG key ID: 54E2C71918E93B74
2 changed files with 2 additions and 13 deletions

View file

@ -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

View file

@ -13,8 +13,8 @@
*/ */
nixConfig = { nixConfig = {
extra-substituters = "https://nix-cache.skynet.ie"; extra-substituters = "https://nix-cache.skynet.ie/skynet-cache";
extra-trusted-public-keys = "nix-cache.skynet.ie:20/EYoy4VZJvM9QbtUozDSlUwZ7RemPCgc088VSB7+M="; extra-trusted-public-keys = "skynet-cache:OdfA4Or0JcHiHf05fsiIR4nZT2z2yDEtkoLqhntGAz4=";
}; };
outputs = { self, nixpkgs, utils, bfom }: utils.lib.eachDefaultSystem (system: outputs = { self, nixpkgs, utils, bfom }: utils.lib.eachDefaultSystem (system: