mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
15 lines
331 B
Nix
15 lines
331 B
Nix
{
|
|
flake.wrappers.default =
|
|
{
|
|
inputs,
|
|
self,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
_module.args.wrappers = lib.concatMapAttrs (name: _: {
|
|
${lib.removeSuffix ".nix" name} = import "${self}/wrappers/${name}" { inherit inputs pkgs lib; };
|
|
}) (builtins.readDir "${self}/wrappers");
|
|
};
|
|
}
|