chore(nix): switch from Lix to nixVersions.latest #356
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file was autogenerated by actions.nix. Do not edit it manually. | |
| # To make changes, edit the workflow definition in your flake's actions-nix configuration | |
| # (typically under flake.actions-nix.workflows.".github/workflows/darwin-build.yml") and run: | |
| # nix run .#render-workflows | |
| # Or commit to trigger the pre-commit hook if enabled. | |
| jobs: | |
| build-nix-darwin-configuration: | |
| environment: | |
| name: dev | |
| permissions: | |
| contents: write | |
| id-token: write | |
| runs-on: macos-15-intel | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@main | |
| with: | |
| fetch-depth: 1 | |
| persist-credentials: false | |
| - name: Install Nix | |
| uses: nixbuild/nix-quick-install-action@master | |
| - name: Magic Nix Cache(Use Github Actions Cache) | |
| uses: DeterminateSystems/magic-nix-cache-action@main | |
| - name: Configure to use personal binary cache @ Cachix | |
| uses: cachix/cachix-action@master | |
| with: | |
| authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
| name: divitmittal | |
| - name: SSH-agent with auth for private repos | |
| uses: webfactory/ssh-agent@master | |
| with: | |
| ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
| - name: Builds a nix-darwin configuration | |
| run: nix -vL build --accept-flake-config .#darwinConfigurations.L1.config.system.build.toplevel | |
| --show-trace | |
| timeout-minutes: 90 | |
| 'on': | |
| pull_request: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.adoc' | |
| - '**/*.jpeg' | |
| - '**/*.jpg' | |
| - '**/*.png' | |
| - '**/*.svg' | |
| - .github/** | |
| - .git* | |
| - assets/** | |
| - common/home/** | |
| - common/hosts/droid/** | |
| - common/hosts/nixos/** | |
| - home/** | |
| - hosts/droid/** | |
| - hosts/nixos/** | |
| - modules/home/** | |
| - modules/hosts/droid/** | |
| - modules/hosts/nixos/** | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.adoc' | |
| - '**/*.jpeg' | |
| - '**/*.jpg' | |
| - '**/*.png' | |
| - '**/*.svg' | |
| - .github/** | |
| - .git* | |
| - assets/** | |
| - common/home/** | |
| - common/hosts/droid/** | |
| - common/hosts/nixos/** | |
| - home/** | |
| - hosts/droid/** | |
| - hosts/nixos/** | |
| - modules/home/** | |
| - modules/hosts/droid/** | |
| - modules/hosts/nixos/** | |
| workflow_dispatch: {} |