diff --git a/.github/workflows/artifact.yaml b/.github/workflows/artifact.yaml index 2215ed3..46e6cf1 100644 --- a/.github/workflows/artifact.yaml +++ b/.github/workflows/artifact.yaml @@ -10,8 +10,8 @@ jobs: strategy: matrix: arch: - - 'x86_64' - - 'aarch64' + - 'x86_64-linux' + - 'aarch64-linux' steps: - uses: actions/checkout@v3 - run: sudo apt-get install -y qemu-user-static @@ -19,7 +19,7 @@ jobs: - uses: cachix/install-nix-action@v21 with: extra_nix_config: | - system = ${{ matrix.arch }}-linux + system = ${{ matrix.arch }} - name: Building tarball for ${{ matrix.arch }} run: nix build @@ -27,5 +27,5 @@ jobs: - name: Uploading artifacts uses: actions/upload-artifact@v3 with: - name: nixos-system-${{ matrix.arch }}-linux.tar.xz - path: result/tarball/nixos-system-${{ matrix.arch }}-linux.tar.xz \ No newline at end of file + name: nixos-system-${{ matrix.arch }}.tar.xz + path: result/tarball/nixos-system-${{ matrix.arch }}.tar.xz \ No newline at end of file diff --git a/README.md b/README.md index a83be44..0c2cbf5 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,15 @@ GNU/Linux that has `systemd` using `machinectl`. You don't need `nix` or NixOS to fetch and run the image: ```sh +# x86_64-linux architecture machinectl pull-tar https://github.com/tfc/nspawn-nixos/releases/download/v1.0/nixos-system-x86_64-linux.tar.xz nixos --verify=no -machinectl start nixos +# aarch64-linux architecture +machinectl pull-tar https://github.com/tfc/nspawn-nixos/releases/download/v1.0/nixos-system-aarch64-linux.tar.xz nixos --verify=no + +machinectl start nixos # Set root password machinectl shell nixos /usr/bin/env passwd - machinectl login nixos ```