Compare commits
No commits in common. "e610ca24e10996f97dcdf68297dbd0c1b9ffc4ed" and "ec8606984436bc33f5d764369a208fbc1e9c451e" have entirely different histories.
e610ca24e1
...
ec86069844
4 changed files with 6 additions and 9 deletions
|
@ -54,8 +54,7 @@ jobs:
|
|||
- name: cache
|
||||
if: always()
|
||||
run: |
|
||||
nix copy --all --to 's3://nixcache?endpoint=s3.cy7.sh' --verbose
|
||||
nix store sign --store 's3://nixcache?endpoint=s3.cy7.sh' -k /home/runner/cache-priv-key.pem --all
|
||||
nix copy ".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel" --to "s3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem"
|
||||
build-homes:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
@ -94,5 +93,4 @@ jobs:
|
|||
- name: cache
|
||||
if: always()
|
||||
run: |
|
||||
nix copy --all --to 's3://nixcache?endpoint=s3.cy7.sh' --verbose
|
||||
nix store sign --store 's3://nixcache?endpoint=s3.cy7.sh' -k /home/runner/cache-priv-key.pem --all
|
||||
nix copy ".#homeConfigurations."${{ matrix.home }}".activationPackage" --to "s3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem"
|
||||
|
|
5
.github/workflows/build-packages.yml
vendored
5
.github/workflows/build-packages.yml
vendored
|
@ -16,8 +16,6 @@ env:
|
|||
extra-substituters = https://nixcache.cy7.sh
|
||||
extra-trusted-public-keys = nixcache.cy7.sh:DN3d1dt0wnXfTH03oVmTee4KgmdNdB0NY3SuzA8Fwx8=
|
||||
TERM: ansi
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets. AWS_SECRET_ACCESS_KEY }}
|
||||
jobs:
|
||||
build-packages:
|
||||
strategy:
|
||||
|
@ -44,8 +42,7 @@ jobs:
|
|||
- name: cache result
|
||||
if: always()
|
||||
run: |
|
||||
nix copy --all --to 's3://nixcache?endpoint=s3.cy7.sh' --verbose
|
||||
nix store sign --store 's3://nixcache?endpoint=s3.cy7.sh' -k /home/runner/cache-priv-key.pem --all
|
||||
nix copy "${{ matrix.package }}" --to "s3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem"
|
||||
- name: prepare tarball to upload
|
||||
run: nix run github:nixos/nixpkgs#gnutar hcvf result.tar result
|
||||
- name: upload result
|
||||
|
|
|
@ -190,4 +190,6 @@
|
|||
|
||||
# container stuff
|
||||
my.containerization.enable = true;
|
||||
|
||||
my.attic.enable = true;
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ let
|
|||
--config ${config.sops.secrets."rclone/config".path} \
|
||||
--allow-other \
|
||||
--cache-dir /var/cache/rclone \
|
||||
--transfers 32 \
|
||||
--transfers 16 \
|
||||
--vfs-cache-mode full \
|
||||
--vfs-cache-min-free-space 5G \
|
||||
--dir-cache-time 30d \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue