Commit 17fc048
committed
refactor(nix): remove flakeModule in favour of direct lib usage
Replace git-hooks.flakeModule and treefmt-nix.flakeModule imports with
direct usage of treefmt-nix.lib.evalModule and git-hooks.lib.${system}.run.
This approach is cleaner and avoids the implicit module system overhead
while maintaining the same functionality:
- treefmt formatting with nixfmt, ruff, and oxfmt
- pre-commit hooks for gitleaks, treefmt, and ty
- formatter output for nix fmt1 parent bf9f3fb commit 17fc048
2 files changed
+17
-25
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 25 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
39 | 29 | | |
40 | 30 | | |
41 | 31 | | |
| |||
62 | 52 | | |
63 | 53 | | |
64 | 54 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
69 | 58 | | |
70 | 59 | | |
71 | 60 | | |
| |||
75 | 64 | | |
76 | 65 | | |
77 | 66 | | |
78 | | - | |
| 67 | + | |
79 | 68 | | |
80 | 69 | | |
81 | 70 | | |
| |||
87 | 76 | | |
88 | 77 | | |
89 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
90 | 82 | | |
91 | 83 | | |
92 | 84 | | |
| |||
120 | 112 | | |
121 | 113 | | |
122 | 114 | | |
123 | | - | |
| 115 | + | |
124 | 116 | | |
125 | 117 | | |
126 | 118 | | |
| |||
0 commit comments