feat: adjust overlays

This commit is contained in:
ryan4yin
2023-05-21 11:44:45 +08:00
parent a2daad2719
commit 58d4005e4f
24 changed files with 64 additions and 77 deletions

7
overlays/default.nix Normal file
View File

@@ -0,0 +1,7 @@
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.filter # find all overlay files in the current directory
(f: f != "default.nix")
(builtins.attrNames (builtins.readDir ./.)))