File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 49
49
++ [ ( mkRenamedOptionModule [ "settings" "rome" ] [ "hooks" "biome" "settings" ] ) ]
50
50
# Rename the remaining `settings.<name>` to `hooks.<name>.settings`
51
51
++ map ( name : mkRenamedOptionModule [ "settings" name ] [ "hooks" name "settings" ] )
52
- [ "ansible-lint" "autoflake" "biome" "clippy" "cmake-format" "credo" "deadnix" "denofmt" "denolint" "dune-fmt" "eslint" "flake8" "headache" "hlint" "hpack" "isort" "latexindent" "lychee" "mkdocs-linkcheck" "mypy" "nixfmt" "ormolu" "php-cs-fixer" "phpcbf" "phpcs" "phpstan" "prettier" "psalm" "pylint" "pyright" "pyupgrade" "revive" "statix" ] ;
52
+ [ "ansible-lint" "autoflake" "biome" "clippy" "cmake-format" "credo" "deadnix" "denofmt" "denolint" "dune-fmt" "eslint" "flake8" "headache" "hlint" "hpack" "isort" "latexindent" "lychee" "mkdocs-linkcheck" "mypy" "nix" " nixfmt" "ormolu" "php-cs-fixer" "phpcbf" "phpcs" "phpstan" "prettier" "psalm" "pylint" "pyright" "pyupgrade" "revive" "statix" ] ;
53
53
54
54
options . hookModule = lib . mkOption {
55
55
type = types . deferredModule ;
845
845
} ;
846
846
} ;
847
847
} ;
848
+ nix = mkOption {
849
+ description = "nix fmt hook" ;
850
+ type = types . submodule {
851
+ imports = [ hookModule ] ;
852
+ options . settings = { } ;
853
+ } ;
854
+ } ;
848
855
nixfmt = mkOption {
849
856
description = "Deprecated nixfmt hook" ;
850
857
visible = false ;
Original file line number Diff line number Diff line change 134
134
mdl
135
135
mdsh
136
136
nil
137
+ nix
137
138
nixpkgs-fmt
138
139
ormolu
139
140
pre-commit-hook-ensure-sops
You can’t perform that action at this time.
0 commit comments