nixos/suites/gaming: use Retroarch module and reduce the cores

In preparation for additional hosts that will be used exclusively as a
home media entertainment system which will have limited capabilities in
the first place.
This commit is contained in:
Gabriel Arazas 2024-11-19 20:36:13 +08:00
parent 6e46ea3930
commit a63782625b
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -15,20 +15,17 @@ in
# Just don't ask where you can sail getting the games. :) # Just don't ask where you can sail getting the games. :)
config = lib.mkIf cfg.enable (lib.mkMerge [ config = lib.mkIf cfg.enable (lib.mkMerge [
{ {
environment.systemPackages = with pkgs; [
# All-around emulator. Also what I'm mainly using for quickly # All-around emulator. Also what I'm mainly using for quickly
# initializing sessions. # initializing sessions.
(retroarch.override { programs.retroarch = {
cores = with libretro; [ enable = true;
cores = with pkgs.libretro; [
bsnes-hd bsnes-hd
desmume desmume
dolphin
dosbox-pure dosbox-pure
pcsx2
ppsspp ppsspp
]; ];
}) };
];
# Setup the go-to platform for Linux gaming. Most of the # Setup the go-to platform for Linux gaming. Most of the
# games should work now with Proton integration. # games should work now with Proton integration.