Do a TON of organising into seperate files

This commit is contained in:
BuyMyMojo 2025-04-05 10:40:02 +11:00
parent b42afdda7e
commit 823361a999
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
20 changed files with 396 additions and 116 deletions

View file

@ -0,0 +1,32 @@
{
config,
pkgs,
unstable,
inputs,
lib,
...
}:
let
withExtraPackages =
pkg: extraPackages:
pkgs.runCommand "${pkg.name}-wrapped" { nativeBuildInputs = [ pkgs.makeWrapper ]; } ''
for exe in ${lib.getBin pkg}/bin/*; do
makeWrapper $exe $out/bin/$(basename $exe) --prefix PATH : ${lib.makeBinPath extraPackages}
done
'';
in
{
home.packages =
with unstable;
with inputs;
[
unstable.pcsx2
unstable.rpcs3
unstable.ryubing
unstable.torzu
inputs.shadps4-git.packages."x86_64-linux".default
];
}