26 lines
372 B
Nix
Raw Normal View History

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