empty_pattern forces {...} to be converted to {_}, which breaks
situations where an import is done multiple ways with the same
attributes, and only some of the imported files use those
attributes (ex. systems/<host>/default.nix)
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
vscode json files allow comments, but check-json only allows regular
json. the check now ignores settings.json
moves inherit for outputs to the let, as it was attempting to output the
outputs variable.
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
migrates pre-commit to cachix's pre-commit-hooks
adds a ton of new hooks:
- check-added-large-files
- check-case-conflicts
- check-json
- check-merge-conflicts
- detect-private-keys
- fmt-check
- nil
- no-commit-to-branch
- statix (disabled for now)
migrates devshell to new devshells, set up modularly to have separate
functionality for sops, pre-commit-hooks, and our custom packages
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>