sway: compile with xwayland only if we plan to use it at runtime

else it's just extra weight
This commit is contained in:
Colin 2024-02-21 21:02:22 +00:00
parent 5b21257e4f
commit f068da709f

View File

@ -53,7 +53,7 @@ let
# but still as a mistake, and wasteful for cross compilation
withGtkWrapper = false;
isNixOS = true;
# TODO: `enableXWayland = ...`?
enableXWayland = cfg.config.xwayland;
};
in
{