diff --git a/.github/workflows/ferrucyon.yml b/.github/workflows/ferrucyon.yml new file mode 100644 index 0000000..e26dbfb --- /dev/null +++ b/.github/workflows/ferrucyon.yml @@ -0,0 +1,28 @@ +name: "ferrucyon iso" +on: + push: + tags: + - '*' + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.3.0 + - uses: nixbuild/nix-quick-install-action@v22 + with: + nix_conf: | + experimental-features = nix-command flakes + access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + + - name: Build ferrucyon iso + run: | + nix build .#ferrucyon + cp result/iso/nixos.iso ferrucyon.iso + + - name: Publish and release + uses: softprops/action-gh-release@v1 + with: + files: ferrucyon.iso + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/iso/configuration.nix b/iso/configuration.nix index 3fd5946..b27d3d8 100644 --- a/iso/configuration.nix +++ b/iso/configuration.nix @@ -4,7 +4,8 @@ , ... }: { imports = [ - (modulesPath + "/installer/cd-dvd/installation-cd-base.nix") + (modulesPath + "/installer/cd-dvd/iso-image.nix") + (modulesPath + "/profiles/all-hardware.nix") ]; nix = {