diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/rebuild.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/rebuild.yml b/.github/workflows/rebuild.yml new file mode 100644 index 0000000..2ccd017 --- /dev/null +++ b/.github/workflows/rebuild.yml @@ -0,0 +1,26 @@ +name: "Rebuild system" + +on: + push: + workflow_dispatch: + schedule: + - cron: "0 8 * * 0" + +jobs: + fetcher: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: "Install Nix ❄️" + uses: cachix/install-nix-action@v30 + + - name: Cachix + uses: cachix/cachix-action@v15 + with: + name: pn + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + + - name: "Build" + id: fetcher + run: nix build .#nixosConfigurations.t14.config.system.build.toplevel |