2023-04-02 17:50:41 +02:00
|
|
|
---
|
|
|
|
image: nixos/unstable
|
|
|
|
packages:
|
2023-04-22 15:28:26 +02:00
|
|
|
- nixos.deadnix
|
2023-04-02 17:50:41 +02:00
|
|
|
- nixos.gnumake
|
2023-04-22 15:28:26 +02:00
|
|
|
- nixos.nixfmt
|
2023-04-27 20:51:54 +02:00
|
|
|
- nixos.shellcheck
|
2023-04-22 15:28:26 +02:00
|
|
|
- nixos.statix
|
|
|
|
- nixos.stylua
|
2023-04-02 17:50:41 +02:00
|
|
|
sources:
|
|
|
|
- https://git.sr.ht/~c8h4/nixos-config
|
|
|
|
tasks:
|
|
|
|
- setup: |
|
2023-04-22 15:28:26 +02:00
|
|
|
# Replace encrypted files such that the linting step won't choke on it
|
2023-04-02 17:50:41 +02:00
|
|
|
for f in $(find nixos-config/secrets -type f -name '*.nix'); do echo '{ }' > $f; done
|
|
|
|
- lint: |
|
|
|
|
cd nixos-config
|
|
|
|
make lint
|