diff --git a/flake.nix b/flake.nix index 761f8e6..a2aa8cc 100644 --- a/flake.nix +++ b/flake.nix @@ -5,12 +5,12 @@ substituters = [ "https://cache.nixos.org/?priority=1&want-mass-query=true" "https://nix-community.cachix.org/?priority=10&want-mass-query=true" - "https://attic.alicehuston.xyz/nix-cache" + "https://attic.nayeonie.com/nix-cache" ]; trusted-substituters = [ "https://cache.nixos.org" "https://nix-community.cachix.org" - "https://attic.alicehuston.xyz/nix-cache" + "https://attic.nayeonie.com/nix-cache" ]; trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" diff --git a/utils/attic-push.bash b/utils/attic-push.bash index 0200a0c..80755ba 100755 --- a/utils/attic-push.bash +++ b/utils/attic-push.bash @@ -5,9 +5,9 @@ #set -v set -e -# retrieve all paths under 100M +# retrieve all paths under 2G nix_paths=$(nix path-info --json --all --closure-size \ - | jq 'map_values(.closureSize | select(. < 5e8)) | to_entries | sort_by(.value)' \ + | jq 'map_values(.closureSize | select(. < 2e9)) | to_entries | sort_by(.value)' \ | jq 'map(.key) | join("\n")' | sed -E -e 's/\\n/\n/g;s/^"//g;s/"$//g') readarray -t nix_path_array < <(echo "$nix_paths")