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.

ci: enable flake CI workflow to all branches + PRs

Also setup a customized environment for Copilot Agent so it can run Nix
commands when needed.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>

+36 -2
+34
.github/workflows/copilot-setup-setps.yml
··· 1 + name: "Copilot Setup Steps" 2 + 3 + # Automatically run the setup steps when they are changed to allow for easy validation, and 4 + # allow manual testing through the repository's "Actions" tab 5 + on: 6 + workflow_dispatch: 7 + push: 8 + paths: 9 + - .github/workflows/copilot-setup-steps.yml 10 + pull_request: 11 + paths: 12 + - .github/workflows/copilot-setup-steps.yml 13 + 14 + jobs: 15 + # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot. 16 + copilot-setup-steps: 17 + runs-on: ubuntu-latest 18 + 19 + # Set the permissions to the lowest permissions possible needed for your steps. 20 + # Copilot will be given its own token for its operations. 21 + permissions: 22 + # If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete. 23 + contents: read 24 + 25 + # You can define any steps you want, and they will run before the agent starts. 26 + # If you do not check out your code, Copilot will do this for you. 27 + steps: 28 + - name: Checkout code 29 + uses: actions/checkout@v5 30 + 31 + - name: Setup Deterinate Nix 32 + uses: DeterminateSystems/nix-installer-action@main 33 + with: 34 + determinate: true
+2 -2
.github/workflows/flake-ci.yml
··· 4 4 schedule: 5 5 - cron: "30 6 * * 5" 6 6 push: 7 - branches: [main] 7 + branches: ["*"] 8 8 9 9 permissions: 10 10 contents: write ··· 48 48 cancel-in-progress: false 49 49 group: recoverykit-iso-builds 50 50 needs: [update-lockfile] 51 - name: Build recovery ISO 51 + name: Build custom recovery/minimal ISO 52 52 runs-on: ubuntu-latest 53 53 steps: 54 54 - uses: actions/checkout@v4