nixos/wrappers/default.nix
2025-09-23 09:17:26 -04:00

18 lines
343 B
Nix

{
pkgs,
inputs,
dirUtils,
type,
...
}:
{
environment.systemPackages = [
(inputs.wrapper-manager.lib {
inherit pkgs;
specialArgs = { inherit inputs; };
modules =
with dirUtils;
dirFiles ".nix" ./common ++ opt (type == "desktop") (dirFiles ".nix" ./desktop);
}).config.build.toplevel
];
}