nix-config/overlays/default.nix

7 lines
213 B
Nix
Raw Normal View History

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