This commit is contained in:
parent
19136d9fc9
commit
eca330c564
1 changed files with 6 additions and 1 deletions
|
|
@ -20,9 +20,14 @@ jobs:
|
||||||
# extra_nix_config: |
|
# extra_nix_config: |
|
||||||
# experimental-features = nix-command flakes
|
# experimental-features = nix-command flakes
|
||||||
|
|
||||||
|
- name: Enable experimental features
|
||||||
|
run: |
|
||||||
|
mkdir -p ~/.config/nix
|
||||||
|
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
||||||
|
|
||||||
- name: Build NixOS image
|
- name: Build NixOS image
|
||||||
working-directory: nixos
|
working-directory: nixos
|
||||||
run: nix --extra-experimental-features nix-command --extra-experimental-features flakes build .#nixosImage
|
run: nix build .#nixosImage
|
||||||
|
|
||||||
- name: Upload & Restore to Proxmox
|
- name: Upload & Restore to Proxmox
|
||||||
working-directory: nixos
|
working-directory: nixos
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue