feat: format via 'ls **/*.nix | each { |it| nixfmt $it.name }'

This commit is contained in:
Ryan Yin
2025-07-30 12:17:24 +08:00
parent d10b30b06b
commit 13bb77108c
219 changed files with 2103 additions and 1728 deletions
+9 -9
View File
@@ -1,14 +1,14 @@
args:
# execute and import all overlay files in the current directory with the given args
builtins.map
(f: (import (./. + "/${f}") args)) # execute and import the overlay file
builtins.map (f: (import (./. + "/${f}") args)) # execute and import the overlay file
(builtins.filter # find all overlay files in the current directory
(
f:
f
!= "default.nix" # ignore default.nix
&& f != "README.md" # ignore README.md
builtins.filter # find all overlay files in the current directory
(
f:
f != "default.nix" # ignore default.nix
&& f != "README.md" # ignore README.md
)
(builtins.attrNames (builtins.readDir ./.))
)
(builtins.attrNames (builtins.readDir ./.)))