mirror of
https://github.com/EdenQwQ/nixos.git
synced 2025-12-26 10:14:58 +08:00
colorscheme: style darkreader; coding: add rstudio
This commit is contained in:
parent
7f4b4214fc
commit
7a4adf172d
4 changed files with 2733 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
let
|
||||
in
|
||||
# firefox-gnome-theme = builtins.fetchGit {
|
||||
|
|
@ -34,6 +34,17 @@ in
|
|||
"browser.tabs.drawInTitlebar" = true;
|
||||
"svg.context-properties.content.enabled" = true;
|
||||
};
|
||||
extensions.force = true;
|
||||
extensions.settings."addon@darkreader.org".settings.theme =
|
||||
with config.lib.stylix.colors.withHashtag; {
|
||||
fontFamily = config.stylix.fonts.sansSerif.name;
|
||||
lightSchemeBackgroundColor = base00;
|
||||
darkSchemeBackgroundColor = base00;
|
||||
lightSchemeTextColor = base05;
|
||||
darkSchemeTextColor = base05;
|
||||
selectionColor = base0D;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
stylix.targets.firefox.enable = true;
|
||||
|
|
|
|||
2695
home/programs/coding/R.nix
Normal file
2695
home/programs/coding/R.nix
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -6,5 +6,6 @@
|
|||
./neovide.nix
|
||||
./zed.nix
|
||||
./nixvim
|
||||
./R.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
25
pkgs/rstudio.nix
Normal file
25
pkgs/rstudio.nix
Normal 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"
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue