nixos-config/.build.yml

19 lines
433 B
YAML
Raw Normal View History

---
image: nixos/unstable
packages:
- nixos.deadnix
- nixos.gnumake
- nixos.nixfmt
- nixos.shellcheck
- nixos.statix
- nixos.stylua
sources:
- https://git.sr.ht/~c8h4/nixos-config
tasks:
- setup: |
# Replace encrypted files such that the linting step won't choke on it
for f in $(find nixos-config/secrets -type f -name '*.nix'); do echo '{ }' > $f; done
- lint: |
cd nixos-config
make lint