nix-config/overlays/default.nix
Bruno BELANYI fc6b221ba1
Some checks failed
ci/woodpecker/push/check Pipeline failed
overlays: make overlay import automatic
Don't rely on nixpkgs' lib to make it easier to just `import` the
directory.
2023-07-20 22:17:16 +01:00

7 lines
213 B
Nix

# Automatically import all overlays in the directory
let
files = builtins.readDir ./.;
overlays = builtins.removeAttrs files [ "default.nix" ];
in
builtins.mapAttrs (name: _: import "${./.}/${name}") overlays