Skip to content

Minimal nixos-config with disko #8

Minimal nixos-config with disko

Minimal nixos-config with disko #8

Workflow file for this run

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