Luke Else 7a4a74a673
Some checks failed
NixOS Configuration Check / nixos-check (push) Failing after 27s
Added actions
2025-03-21 14:27:24 +00:00

30 lines
714 B
YAML

name: NixOS Configuration Check
on:
push:
branches:
- main
pull_request:
jobs:
nixos-check:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v22
- name: Show Nix version
run: nix --version
- name: Run nix flake check
run: nix flake check
- name: Attempt to build configuration (optional)
run: |
nix build .#nixosConfigurations.desktop.config.system.build.toplevel
nix build .#nixosConfigurations.laptop.config.system.build.toplevel
nix build .#nixosConfigurations.vm.config.system.build.toplevel