Added retroarch

This commit is contained in:
Jan-Bulthuis 2025-01-29 00:07:45 +01:00
parent ceff5dac07
commit dad0cdb169
4 changed files with 28 additions and 1 deletions

View File

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
./emulators/pcsx2.nix ./emulators/pcsx2.nix
./emulators/retroarch.nix
./emulators/ryujinx.nix ./emulators/ryujinx.nix
./launchers/es-de.nix ./launchers/es-de.nix
./launchers/modrinth.nix ./launchers/modrinth.nix

View File

@ -0,0 +1,22 @@
{
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
];
};
}

View File

@ -16,7 +16,10 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [
ryujinx ryubing
]; ];
# TODO: Make more general
wayland.windowManager.river.settings.rule-add."-app-id"."'Ryujinx'" = "fullscreen";
}; };
} }

View File

@ -67,6 +67,7 @@
modrinth.enable = true; modrinth.enable = true;
es-de.enable = true; es-de.enable = true;
pcsx2.enable = true; pcsx2.enable = true;
retroarch.enable = true;
ryujinx.enable = true; ryujinx.enable = true;
# Media # Media