mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 14:14:58 +08:00
27 lines
488 B
Nix
27 lines
488 B
Nix
{ pkgs, inputs, ... }:
|
|
inputs.treefmt-nix.lib.evalModule pkgs {
|
|
projectRootFile = ".git/config";
|
|
|
|
programs = {
|
|
nixfmt.enable = true;
|
|
|
|
deadnix.enable = true;
|
|
deno.enable = true;
|
|
};
|
|
|
|
settings = {
|
|
global.excludes = [
|
|
"./pkgs/sops-install-secrets/test-assets/*"
|
|
"*.narHash"
|
|
# unsupported extensions
|
|
"*.{asc,pub,gpg}"
|
|
"*/secrets.{bin,json,ini,yaml}"
|
|
];
|
|
|
|
formatter = {
|
|
deadnix = {
|
|
priority = 1;
|
|
};
|
|
};
|
|
};
|
|
}
|