Skip to content

Update nixpkgs and use omnix #93

Update nixpkgs and use omnix

Update nixpkgs and use omnix #93

Workflow file for this run

name: "CI"
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://cache.garnix.io?priority=41 https://cache.nixos.org/
# disko VM test requires a system with support for: {kvm, nixos-test}
# See https://github.com/nix-community/nixos-generators/issues/83#issuecomment-973294478
system-features = nixos-test benchmark big-parallel kvm
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: yaxitech/nix-install-pkgs-action@v3
with:
packages: "github:srid/nixci"
- run: nixci build
# Run disko VM test (test partition creation and whether the VM boots up later)
# TODO: Do this for every configuration?
# - run: nix build .#nixosConfigurations.vanjaram.config.system.build.installTest