nixos-configs/apps/packages.nix
matt1432 d2625fa290
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: fit structure of main directories
2025-01-04 21:34:36 -05:00

14 lines
289 B
Nix

{
pkgs,
self,
...
}: let
inherit (pkgs.lib) mapAttrs removeSuffix;
in
mapAttrs (
name: app: (pkgs.symlinkJoin {
name = "app-${name}";
paths = [(removeSuffix "/bin/${name}" (toString app.program))];
})
)
(removeAttrs self.apps.${pkgs.system} ["genflake"])