moved some emulators to retroarch cores

This commit is contained in:
Danilo Reyes
2025-10-12 12:58:02 -06:00
parent 6216d19d0b
commit 1b743f9fcc

View File

@@ -5,6 +5,21 @@
pkgs, pkgs,
... ...
}: }:
let
retroarchWithCores = pkgs.retroarch.withCores (
cores:
builtins.attrValues {
inherit (cores)
mgba # gba
pcsx2 # ps2
dolphin # wii / gamecube
snes9x2010 # snes
desmume # nintendo ds
citra # 3ds
;
}
);
in
{ {
imports = [ inputs.nix-gaming.nixosModules.platformOptimizations ]; imports = [ inputs.nix-gaming.nixosModules.platformOptimizations ];
options.my.apps = { options.my.apps = {
@@ -36,6 +51,7 @@
# }; # };
}; };
users.users.jawz.packages = builtins.attrValues { users.users.jawz.packages = builtins.attrValues {
inherit retroarchWithCores;
inherit (pkgs) inherit (pkgs)
shipwright # zelda OoT port shipwright # zelda OoT port
mangohud # fps & stats overlay mangohud # fps & stats overlay
@@ -47,12 +63,8 @@
ns-usbloader # load games into my switch ns-usbloader # load games into my switch
# emulators # emulators
rpcs3 # ps3 rpcs3 # ps3
pcsx2 # ps2
cemu # wii u cemu # wii u
dolphin-emu # wii
snes9x-gtk # snes
ryubing # switch ryubing # switch
azahar # 3Ds
prismlauncher # minecraft launcher with jdk overlays prismlauncher # minecraft launcher with jdk overlays
; ;
}; };