diff --git a/.github/workflows/cachix.yaml b/.github/workflows/cachix.yaml new file mode 100644 index 0000000..b2a6897 --- /dev/null +++ b/.github/workflows/cachix.yaml @@ -0,0 +1,27 @@ +name: "cache" +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v24 + - uses: cachix/cachix-action@v12 + with: + name: ooknet + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + - name: Build packages + run: | + nix build .#ook-vim \ + .#live-buds-cli \ + .#caddy-with-cloudflare \ + .#fpp-config \ + .#fpp-launcher \ + .#fpp-sd \ + .#project-plus \ + .#repomix \ + .#website \ + .#wii-u-gc-adapter diff --git a/.github/workflows/garnix.yml b/.github/workflows/garnix.yml deleted file mode 100644 index 68d75c1..0000000 --- a/.github/workflows/garnix.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Garnix -on: - push: - branches: - - main - -permissions: - contents: read - -jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: garnix-io/check-flake@v2 diff --git a/modules/home/console/tools/utils.nix b/modules/home/console/tools/utils.nix index cbe00aa..641ab9c 100644 --- a/modules/home/console/tools/utils.nix +++ b/modules/home/console/tools/utils.nix @@ -46,6 +46,7 @@ in { libnotify # Nix tooling alejandra + cachix ; #AI