update hardware.nix #30
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: "Nix Flake check" | |
on: | |
push: | |
jobs: | |
Build-Package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
sudo apt-get install -y qemu-user-static binfmt-support | |
sudo systemctl restart binfmt-support | |
- uses: cachix/install-nix-action@v27 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
extra_nix_config: | | |
extra-platforms = aarch64-linux i686-linux | |
system-features = nixos-test benchmark big-parallel kvm | |
extra-sandbox-paths = /usr/bin/qemu-aarch64-static | |
substituters = https://nix-community.cachix.org https://attic.holypenguin.net/holynix https://cache.nixos.org/ | |
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= holynix:Ucr2JJ5xLEy4hElI/SToX5klNe4I3wKgVIa2+b3lmYo= | |
trusted-substituters = https://nix-community.cachix.org https://attic.holypenguin.net/holynix | |
- run: | | |
sudo systemctl restart nix-daemon.service | |
nix flake check --accept-flake-config |