nixos-config/.build.yml
Christoph Heiss 95977fa8df
build: Use new flake-based linting
Fixes: 75ad80e ("flake: Replace manual lint/format steps with treefmt-nix")
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-10-30 18:51:26 +01:00

20 lines
463 B
YAML

---
image: nixos/unstable
packages:
- nixos.curl
- nixos.git
- nixos.gnumake
- nixos.gnupg
environment:
NIX_CONFIG: 'experimental-features = nix-command flakes'
sources:
- https://git.sr.ht/~c8h4/nixos-config
tasks:
- setup: |
make -C nixos-config empty-out-secrets
curl -L -o c8h4.pgp https://meta.sr.ht/~c8h4.pgp
gpg --import c8h4.pgp
- lint: |
make -C nixos-config/ check-git-history
nix flake check nixos-config/