feat: move stuff to even more separate modules.

This commit is contained in:
CronyAkatsuki 2025-03-20 13:22:26 +01:00
parent 585f9dd0d7
commit 448e82464a
6 changed files with 95 additions and 46 deletions

View file

@ -0,0 +1,32 @@
{
config,
pkgs,
lib,
...
}: {
options = {
crony.emulators.enable = lib.mkEnableOption "Install my emulators";
};
config = lib.mkIf config.crony.emulators.enable {
home.packages = with pkgs; [
(retroarch.withCores (
cores:
with cores; [
beetle-saturn
parallel-n64
flycast
desmume
]
))
duckstation
pcsx2
dolphin-emu
xemu
rpcs3
cemu
ppsspp-sdl-wayland
mame-tools
];
};
}