From 8873bd2332b2dc87a5c8ea772fd462c7ce257b50 Mon Sep 17 00:00:00 2001 From: Lucy Hochkamp Date: Tue, 7 Oct 2025 19:47:16 +0200 Subject: [PATCH] meow --- .woodpecker/build-cache.yaml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.woodpecker/build-cache.yaml b/.woodpecker/build-cache.yaml index d6ad8753..33ee20c5 100644 --- a/.woodpecker/build-cache.yaml +++ b/.woodpecker/build-cache.yaml @@ -3,19 +3,20 @@ when: branch: main steps: - - build-push: - image: ghcr.io/lix-project/lix:latest - environment: - ATTIC_ENDPOINT: https://attic.hailsatan.eu - ATTIC_CACHE: xyno - ATTIC_PUSH_TOKEN: - from_secret: attic_push_token - commands: - - export PATH=$PATH:$(nix build --no-link nixpkgs#attic-client --print-out-paths)/bin - - attic login default ${ATTIC_ENDPOINT} ${ATTIC_PUSH_TOKEN} - - attic use ${ATTIC_CACHE} - - attic watch-store ${ATTIC_CACHE} & - - nix build .#nixosConfigurations.ds9.config.system.build.toplevel .#nixosConfigurations.picard.config.system.build.toplevel .#nixosConfigurations.theseus.config.system.build.toplevel - - attic push some-cache $(nix path-info .#default) + - name: build-push + image: ghcr.io/lix-project/lix:latest + environment: + ATTIC_ENDPOINT: https://attic.hailsatan.eu + ATTIC_CACHE: xyno + ATTIC_PUSH_TOKEN: + from_secret: attic_push_token + commands: + - echo "extra-experimental-features = nix-command flakes" >> /etc/nix/nix.conf + - export PATH=$PATH:$(nix build --no-link nixpkgs#attic-client --print-out-paths)/bin + - attic login default $${ATTIC_ENDPOINT} $${ATTIC_PUSH_TOKEN} + - attic use $${ATTIC_CACHE} + - attic watch-store $${ATTIC_CACHE} & + - nix build .#nixosConfigurations.ds9.config.system.build.toplevel .#nixosConfigurations.picard.config.system.build.toplevel .#nixosConfigurations.theseus.config.system.build.toplevel + - attic push $${ATTIC_CACHE} $(nix path-info .#nixosConfigurations.ds9.config.system.build.toplevel .#nixosConfigurations.picard.config.system.build.toplevel .#nixosConfigurations.theseus.config.system.build.toplevel)