diff --git a/overlays/default.nix b/overlays/default.nix index e504b17..683e021 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,3 +1,6 @@ -{ - # No overlays -} +# Automatically import all overlays in the directory +let + files = builtins.readDir ./.; + overlays = builtins.removeAttrs files [ "default.nix" ]; +in +builtins.mapAttrs (name: _: import "${./.}/${name}") overlays