added emulation to apps/gaming module, added mupen64plus n64 emulator
This commit is contained in:
@@ -142,6 +142,19 @@ in {
|
|||||||
enable = lib.mkEnableOption "Zenless Zone Zero (ZZZ) launcher";
|
enable = lib.mkEnableOption "Zenless Zone Zero (ZZZ) launcher";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
emulators = {
|
||||||
|
enable = lib.mkEnableOption "Emulation";
|
||||||
|
|
||||||
|
n64 = {
|
||||||
|
enable = lib.mkEnableOption "Nintendo 64 (N64) emulator";
|
||||||
|
package = lib.mkOption {
|
||||||
|
type = lib.types.package;
|
||||||
|
default = pkgs.mupen64plus;
|
||||||
|
description = "Package used for the Nintendo 64 (N64) emulator";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = let
|
config = let
|
||||||
@@ -213,7 +226,10 @@ in {
|
|||||||
(lib.optionals cfg.ffxiv.enable [pkgs.xivlauncher pkgs.fflogs]) ++
|
(lib.optionals cfg.ffxiv.enable [pkgs.xivlauncher pkgs.fflogs]) ++
|
||||||
(lib.optionals cfg.vkbasalt.enable [pkgs.vkbasalt pkgs.vkBasalt pkgs.vkbasalt-cli]) ++
|
(lib.optionals cfg.vkbasalt.enable [pkgs.vkbasalt pkgs.vkBasalt pkgs.vkbasalt-cli]) ++
|
||||||
(lib.optionals cfg.mangohud.enable [pkgs.mangohud]) ++
|
(lib.optionals cfg.mangohud.enable [pkgs.mangohud]) ++
|
||||||
(lib.optionals (cfg.vkbasalt.enable || cfg.mangohud.enable) [pkgs.goverlay pkgs.mesa-demos pkgs.vulkan-tools]);
|
(lib.optionals (cfg.vkbasalt.enable || cfg.mangohud.enable) [pkgs.goverlay pkgs.mesa-demos pkgs.vulkan-tools]) ++
|
||||||
|
(lib.optionals cfg.emulators.enable (
|
||||||
|
lib.optionals cfg.emulators.n64.enable [pkgs.mupen64plus]
|
||||||
|
));
|
||||||
|
|
||||||
nix.settings = let
|
nix.settings = let
|
||||||
inherit agl;
|
inherit agl;
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ in {
|
|||||||
gamemode.enable = true;
|
gamemode.enable = true;
|
||||||
gamescope.enable = true;
|
gamescope.enable = true;
|
||||||
mangohud.enable = true;
|
mangohud.enable = true;
|
||||||
|
|
||||||
lutris = {
|
lutris = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wine = {
|
wine = {
|
||||||
@@ -104,6 +105,13 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
emulators = {
|
||||||
|
enable = true;
|
||||||
|
n64 = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
ffxiv.enable = true;
|
ffxiv.enable = true;
|
||||||
minecraft.enable = true;
|
minecraft.enable = true;
|
||||||
aagl.anime-game-launcher.enable = true;
|
aagl.anime-game-launcher.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user