diff options
| -rw-r--r-- | flake.nix | 3 | ||||
| -rw-r--r-- | treefmt.toml | 6 |
2 files changed, 9 insertions, 0 deletions
@@ -39,6 +39,9 @@ git gitui sops + + # Formatting + treefmt nixfmt-rfc-style ]; }; diff --git a/treefmt.toml b/treefmt.toml new file mode 100644 index 0000000..13bf952 --- /dev/null +++ b/treefmt.toml @@ -0,0 +1,6 @@ +[global] +excludes = ["secrets/*", ".*ignore", ".git*", "*.lock"] + +[formatter.nix] +command = "nixfmt" +includes = [ "*.nix" ] |
