Skip to content

nixos: Update system #332

nixos: Update system

nixos: Update system #332

Workflow file for this run

name: "Build NixOS system"
on:
workflow_dispatch:
push:
schedule:
- cron: 0 6 * * 1
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Install Nix"
uses: cachix/install-nix-action@v24
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
- uses: cachix/cachix-action@v13
with:
name: juanibiapina
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: "Build system configuration"
env:
NIXPKGS_ALLOW_UNFREE: 1
run: "nix build ./assets/nix#nixosConfigurations.nixos.config.system.build.toplevel"