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

23 lines
266 B
Nix

{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.retroarch;
in
{
options.modules.retroarch = {
enable = mkEnableOption "RetroArch";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
retroarch-free
];
};
}