mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 22:48:02 +03:00
14 lines
318 B
Nix
14 lines
318 B
Nix
{self, ...}: let
|
|
overridesDir = ../../overrides;
|
|
in {
|
|
flake.overrides =
|
|
builtins.mapAttrs
|
|
(
|
|
category: _type:
|
|
builtins.mapAttrs
|
|
(name: _type: overridesDir + "/${category}/${name}")
|
|
(builtins.readDir (overridesDir + "/${category}"))
|
|
)
|
|
(builtins.readDir overridesDir);
|
|
}
|