diff --git a/user-modules/gaming/default.nix b/user-modules/gaming/default.nix index 1b1d1e8..4f5ae53 100644 --- a/user-modules/gaming/default.nix +++ b/user-modules/gaming/default.nix @@ -3,6 +3,7 @@ { imports = [ ./emulators/ryujinx.nix + ./launchers/es-de.nix ./launchers/modrinth.nix ./launchers/steam.nix ]; diff --git a/user-modules/gaming/emulators/ryujinx.nix b/user-modules/gaming/emulators/ryujinx.nix index b7b321b..1d7b7f1 100644 --- a/user-modules/gaming/emulators/ryujinx.nix +++ b/user-modules/gaming/emulators/ryujinx.nix @@ -10,7 +10,7 @@ let cfg = config.modules.ryujinx; in { - options.modules.modrinth = { + options.modules.ryujinx = { enable = mkEnableOption "ryujinx"; }; diff --git a/user-modules/gaming/launchers/es-de.nix b/user-modules/gaming/launchers/es-de.nix new file mode 100644 index 0000000..1fe785f --- /dev/null +++ b/user-modules/gaming/launchers/es-de.nix @@ -0,0 +1,22 @@ +{ + lib, + config, + pkgs, + ... +}: + +with lib; +let + cfg = config.modules.es-de; +in +{ + options.modules.es-de = { + enable = mkEnableOption "Emulation Station Desktop Edition"; + }; + + config = mkIf cfg.enable { + home.packages = with pkgs; [ + emulationstation-de + ]; + }; +} diff --git a/users/jan.nix b/users/jan.nix index 88ef9da..7958e6e 100644 --- a/users/jan.nix +++ b/users/jan.nix @@ -65,6 +65,8 @@ # Gaming steam.enable = true; modrinth.enable = true; + es-de.enable = true; + ryujinx.enable = true; # Media spotify.enable = true;