add rstudio; add lib function: addFlags

This commit is contained in:
EdenQwQ 2025-03-09 21:24:54 +08:00
parent 7a4adf172d
commit 7ec03b1d88
6 changed files with 31 additions and 39 deletions

View file

@ -4,7 +4,10 @@ let
in
{
home.packages = [
(import ../../../pkgs/rstudio.nix pkgs)
(
import ../../../pkgs/rstudio.nix pkgs
|> config.lib.misc.addFlags "--enable-features=UseOzonePlatform --ozone-platform=wayland --use-gl=angle --wayland-text-input-version=3" "rstudio"
)
];
xdg.configFile."rstudio/themes/stylix.rstheme".text = with colors; ''
/* rsthemes 0.5.0 */