Skip to content

flake.nix: allow custom TMPDIR #132

flake.nix: allow custom TMPDIR

flake.nix: allow custom TMPDIR #132

jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
extra-platforms = aarch64-linux
nix_path: nixpkgs=channel:nixos-unstable
- name: Setup aarch64-linux
run: |
DEBIAN_FRONTEND=noninteractive
sudo apt-get update -q -y
sudo apt-get install -q -y qemu-system-aarch64 qemu-efi binfmt-support qemu-user-static
- uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_TOKEN }}
extraPullNames: nix-community
name: thiagokokada-nix-configs
- name: Set default git branch (to reduce log spam)
run: git config --global init.defaultBranch master
- name: Check if all `.nix` files are formatted correctly
run: nix run '.#formatCheck'
- name: Validate Flakes
run: nix flake check
name: validate-flakes
"on":
- push
- workflow_dispatch