2024-03-17 21:11:58 -07:00

25 lines
485 B
Nix

{ config, lib, pkgs, user, ... }:
let cfg = config.modules.gaming.emulation;
in {
options.modules.gaming.emulation.enable = lib.mkEnableOption "emulation";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
yuzu-archive
citra-archive
dolphin-emu
ppsspp
mgba
(retroarch.override {
cores = with libretro; [
nestopia
snes9x
mgba
melonds
];
})
];
};
}