This commit is contained in:
parent
760cb102d4
commit
e2f07f6eb4
2 changed files with 8 additions and 8 deletions
|
|
@ -5,7 +5,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: nixos
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -15,12 +15,12 @@ jobs:
|
|||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
# - name: Install Nix
|
||||
# uses: cachix/install-nix-action@v31
|
||||
# with:
|
||||
# nix_path: nixpkgs=channel:nixos-unstable
|
||||
# extra_nix_config: |
|
||||
# experimental-features = nix-command flakes
|
||||
|
||||
- name: Build NixOS image
|
||||
run: nix build .#nixosImage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue