NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

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

Add permissions to make push work

+8 -2
+8 -2
.github/workflows/update-flakes.yml
··· 1 1 name: nix flake update 2 2 on: 3 3 schedule: 4 - - cron: "30 0 * * *" 4 + - cron: "30 */6 * * *" 5 5 push: 6 6 branches: [main] 7 + 7 8 jobs: 8 9 build: 10 + permissions: 11 + contents: write 12 + actions: write 9 13 runs-on: ubuntu-latest 10 14 steps: 11 15 - uses: actions/checkout@v2 ··· 18 22 access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} 19 23 20 24 - name: Update flake 21 - run: nix flake update 25 + run: | 26 + nix flake update 27 + nix flake metadata 22 28 23 29 - name: Commit and push changes 24 30 run: |