dotfiles/user-modules/gaming/emulators/ryujinx.nix

26 lines
372 B
Nix
Raw Normal View History

2025-01-26 12:16:06 +00:00
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.ryujinx;
in
{
2025-01-26 12:28:36 +00:00
options.modules.ryujinx = {
2025-01-26 12:16:06 +00:00
enable = mkEnableOption "ryujinx";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
2025-01-28 23:07:45 +00:00
ryubing
2025-01-26 12:16:06 +00:00
];
2025-01-28 23:07:45 +00:00
# TODO: Make more general
wayland.windowManager.river.settings.rule-add."-app-id"."'Ryujinx'" = "fullscreen";
2025-01-26 12:16:06 +00:00
};
}