Skip to content

Commit

Permalink
feat: retroarch core updates and full option
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Oct 28, 2023
1 parent 6a8fd1a commit ced72fb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
10 changes: 4 additions & 6 deletions modules/nixos/apps/retroarch/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,16 @@ in
(retroarch.override {
cores = with libretro; [
beetle-psx-hw
# TODO: reenable after fixed
# beetle-snes
bsnes
citra
dolphin
dosbox
genesis-plus-gx
# FIX: fix package upstream
# mame
mame
mgba
nestopia
pcsx2
# TODO: reenable after fixed
# snes9x
snes9x
];
})
];
Expand Down
7 changes: 4 additions & 3 deletions modules/nixos/suites/emulation/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ in
options.khanelinix.suites.emulation = {
enable =
mkBoolOpt false "Whether or not to enable emulation configuration.";
retroarchFull =
mkBoolOpt false "Whether or not to enable emulation configuration.";
};

config = mkIf cfg.enable {
Expand All @@ -27,17 +29,16 @@ in
nestopia
pcsx2
pcsxr
retroarch
rpcs3
snes9x
xemu
yuzu-early-access
];
] ++ lib.optionals cfg.retroarchFull [ retroarchFull ];

khanelinix = {
apps = {
dolphin = enabled;
retroarch = enabled;
retroarch.enable = !mkIf cfg.retroarchFull;
};
};
};
Expand Down
6 changes: 5 additions & 1 deletion systems/x86_64-linux/khanelinix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ in
rustEnable = true;
sqlEnable = true;
};
emulation = enabled;

emulation = {
enable = true;
# retroarchFull = true;
};
};

system = {
Expand Down

0 comments on commit ced72fb

Please sign in to comment.