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