Massive sweeping changes

This commit is contained in:
BuyMyMojo 2025-04-02 10:21:41 +11:00
parent cd265fa1a7
commit 40cac7a6f7
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
13 changed files with 484 additions and 144 deletions

View file

@ -0,0 +1,40 @@
{
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.file."Godot/current".source = unstable.godot;
home.file."Godot/current-mono".source = unstable.godot-mono;
home.file."Godot/export-templates/current".source = unstable.godot-export-templates;
home.file."Godot/4.3".source = unstable.godot_4_3;
home.file."Godot/4.3-mono".source = unstable.godot_4_3-mono;
home.file."Godot/export-templates/4.3".source = unstable.godot_4_3-export-templates;
home.packages =
with unstable;
with inputs;
[
unstable.godot-mono
unstable.godot-export-templates
unstable.blender-hip
unstable.freecad-wayland
pkgs.unityhub
pkgs.material-maker
unstable.blockbench
];
}