Personal Nix flake
nixos home-manager nix
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: Build raspberrypi host on GH actions

+31
+31
.github/workflows/push-to-cachix-raspi.yml
··· 1 + name: Push Raspberry Pi 4 build to Cachix 2 + 3 + on: 4 + push: 5 + branches: 6 + - main 7 + - develop 8 + workflow_dispatch: 9 + 10 + jobs: 11 + build: 12 + runs-on: ubuntu-latest 13 + steps: 14 + - uses: actions/checkout@v4 15 + - name: Install qemu 16 + run: | 17 + sudo apt-get install -y qemu-user-static 18 + - uses: cachix/install-nix-action@V28 19 + with: 20 + extra_nix_config: | 21 + system = aarch64-linux 22 + - uses: DeterminateSystems/magic-nix-cache-action@v8 23 + with: 24 + upstream-cache: https://lpchaim.cachix.org 25 + - uses: cachix/cachix-action@v15 26 + with: 27 + name: lpchaim 28 + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 29 + - name: Build 30 + run: | 31 + nix build .#nixosConfigurations.raspberrypi.config.system.build.toplevel