chore(flake.lock): update all inputs #245
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build images | |
concurrency: | |
cancel-in-progress: true | |
group: ${{ github.workflow }} | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: [main] | |
paths: [home-manager, nixos, overlays, flake.lock, flake.nix] | |
jobs: | |
build-iso: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Free disk space ποΈ | |
run: | | |
# Stolen from https://github.com/easimon/maximize-build-space | |
# Save about 50GB of space by removing things we don't need anyways | |
sudo rm -rf /usr/share /usr/local /opt || true | |
- name: Checkout ποΈ | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Install Nix π¦ | |
uses: DeterminateSystems/nix-installer-action@v6 | |
with: | |
extra-conf: | | |
accept-flake-config = true | |
system-features = big-parallel kvm | |
diagnostic-endpoint: "" | |
- name: Build ISO π | |
run: | | |
nix run -L .#iso | |
ISO_NAME=$(realpath result | cut -d "/" -f6) | |
cp result "$ISO_NAME" | |
env: | |
NIXPKGS_ALLOW_UNFREE: 1 | |
- name: Upload ISO π | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Dr460nixed ISO | |
path: "*.iso" |