From 69c5fdb9544a3b6e8700814257b3e83630f2287e Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Wed, 15 Mar 2023 09:32:06 +0100 Subject: [PATCH] [Desktop/Gaming] Add emulation, and start by adding Yuzu --- desktop/games.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/desktop/games.nix b/desktop/games.nix index 3cd8520..5e73f8d 100644 --- a/desktop/games.nix +++ b/desktop/games.nix @@ -9,6 +9,13 @@ in { options = { aviallon.desktop.gaming = { enable = mkEnableOption "gaming features"; + emulation = mkEnableOption "console emulators"; + yuzu.package = mkOption { + description = "Yuzu switch emulator package"; + type = with types; package; + example = pkgs.yuzu-early-access; + default = pkgs.yuzu-mainline; + }; }; }; @@ -22,6 +29,8 @@ in { #gamescope mangohud lutris + ] ++ optionals cfg.gaming.emulation [ + cfg.gaming.yuzu.package ]; boot.kernel.sysctl = {