Minimal nixos-config
with disko
#8
Workflow file for this run
This file contains 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
name: "CI" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
# disko VM test requires a system with support for: {kvm, nixos-test} | |
# See https://github.com/nix-community/nixos-generators/issues/83#issuecomment-973294478 | |
with: | |
extra-conf: "system-features = nixos-test benchmark big-parallel kvm" | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
# Run disko VM test (test partition creation and whether the VM boots up later) | |
- run: nix build .#nixosConfigurations.office.config.system.build.installTest |