dotfiles/user-modules/gaming/emulators/retroarch.nix

42 lines
746 B
Nix
Raw Normal View History

2025-01-28 23:07:45 +00:00
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.retroarch;
in
{
options.modules.retroarch = {
enable = mkEnableOption "RetroArch";
};
config = mkIf cfg.enable {
2025-02-08 20:51:46 +00:00
modules.unfree.allowedPackages = [
"libretro-fbalpha2012"
"libretro-fbneo"
"libretro-fmsx"
"libretro-genesis-plus-gx"
"libretro-mame2000"
"libretro-mame2003"
"libretro-mame2003-plus"
"libretro-mame2010"
"libretro-mame2015"
"libretro-opera"
"libretro-picodrive"
"libretro-snes9x"
"libretro-snes9x2002"
"libretro-snes9x2005"
"libretro-snes9x2005-plus"
"libretro-snes9x2010"
];
2025-01-28 23:07:45 +00:00
home.packages = with pkgs; [
2025-02-08 20:51:46 +00:00
retroarch-full
2025-01-28 23:07:45 +00:00
];
};
}