diff --git a/config/services/nix-cache-upload.nix b/config/services/nix-cache-upload.nix index 6de0345e..b9060f17 100644 --- a/config/services/nix-cache-upload.nix +++ b/config/services/nix-cache-upload.nix @@ -8,7 +8,7 @@ in script = '' #!${pkgs.bash}/bin/bash ${pkgs.nix}/bin/nix store sign --key-file /root/cache-priv-key.pem --all - ${pkgs.nix}/bin/nix copy --to 's3://nix-cache?scheme=https&endpoint=cache.int.chir.rs' --all + ${pkgs.nix}/bin/nix copy --to 's3://nix-cache?scheme=https&endpoint=cache.int.chir.rs&multipart-upload=true' --all ${pkgs.minio-client}/bin/mc rm -r --older-than 7d nix-cache/nix-cache ''; };