mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
25 lines
485 B
Nix
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
|
|
];
|
|
})
|
|
];
|
|
};
|
|
}
|