ooknet/modules/home/workstation/gaming/emulation.nix

28 lines
481 B
Nix

{
lib,
osConfig,
pkgs,
self',
...
}: let
inherit (lib) mkIf elem;
inherit (builtins) attrValues;
inherit (osConfig.ooknet.workstation) profiles;
in {
config = mkIf (elem "gaming" profiles) {
home.packages = attrValues {
inherit
(pkgs)
ryujinx
;
inherit
(self'.packages)
wii-u-gc-adapter
;
};
ooknet.gaming.project-plus = {
enable = true;
netplay.nickname = "ooks";
};
};
}