colorscheme: style darkreader; coding: add rstudio

This commit is contained in:
EdenQwQ 2025-03-09 19:57:19 +08:00
parent 7f4b4214fc
commit 7a4adf172d
4 changed files with 2733 additions and 1 deletions

25
pkgs/rstudio.nix Normal file
View file

@ -0,0 +1,25 @@
pkgs:
let
myRstudio = pkgs.rstudioWrapper.override {
packages = with pkgs.rPackages; [
ggplot2
dplyr
tidyverse
bruceR
afex
ggpubr
reshape2
rmdformats
see
];
};
in
pkgs.symlinkJoin {
name = "rstudio-wrapped";
paths = [ myRstudio ];
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/rstudio --add-flags \
"--enable-features=UseOzonePlatform --ozone-platform=wayland --use-gl=angle"
'';
}