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
];
}

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;
[
# === Factorio related ===
unstable.yafc-ce
unstable.pactorio
unstable.factoriolab
# === Factorio related ===
];
}

View file

@ -0,0 +1,51 @@
{
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
{
# === Java versions for MC ===
home.file."jdks/zulujdk8".source = pkgs.zulu8;
home.file."jdks/zulujdk17".source = pkgs.zulu17;
home.file."jdks/zulujdk23".source = pkgs.zulu23;
# === Java versions for MC ===
home.packages =
with unstable;
with inputs;
[
# === Minecraft related ===
unstable.modrinth-app
unstable.prismlauncher
# === Minecraft related ===
unstable.steamtinkerlaunch
pkgs.heroic-unwrapped
unstable.ludusavi
# === Game perf ===
unstable.mangojuice
unstable.goverlay
# === Game perf ===
];
programs.mangohud = {
enable = true;
enableSessionWide = true;
package = unstable.mangohud;
};
}

View file

@ -0,0 +1,28 @@
{
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;
[
];
}

View file

@ -0,0 +1,42 @@
{
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.gpu-screen-recorder-gtk
gsr-ui.gpu-screen-recorder-ui
];
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-vkcapture
obs-pipewire-audio-capture
obs-teleport
obs-source-record
obs-source-clone
obs-composite-blur
];
};
}

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.svt-av1-psy
unstable.ffmpeg-full
unstable.ab-av1
unstable.whisper-cpp-vulkan
unstable.video-compare
];
}

View file

@ -0,0 +1,30 @@
{
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;
[
pkgs.lazydocker
pkgs.distrobox
pkgs.boxbuddy
];
}

View file

@ -0,0 +1,31 @@
{
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;
[
home.file."bin/wine".source = unstable.wineWowPackages.waylandFull;
unstable.wineWowPackages.waylandFull
unstable.winetricks
];
}