mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-14 08:32:39 +02:00
chore: use nixfmt pre-commit hook
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ in
|
|||||||
pre-commit-check = pre-commit-hooks.lib.${system}.run {
|
pre-commit-check = pre-commit-hooks.lib.${system}.run {
|
||||||
src = mylib.relativeToRoot ".";
|
src = mylib.relativeToRoot ".";
|
||||||
hooks = {
|
hooks = {
|
||||||
nixfmt-rfc-style = {
|
nixfmt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.width = 100;
|
settings.width = 100;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user