From 429535dee2aa94a5e8d6aa9bb69aa95168424592 Mon Sep 17 00:00:00 2001 From: Felix Wittwer Date: Tue, 26 Oct 2021 16:25:03 +0200 Subject: [PATCH] Add wrapped rstudio --- entropy/nixos/configuration.nix | 3 ++- entropy/nixos/modules/r.nix | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/entropy/nixos/configuration.nix b/entropy/nixos/configuration.nix index e3024a4..d074783 100644 --- a/entropy/nixos/configuration.nix +++ b/entropy/nixos/configuration.nix @@ -212,6 +212,7 @@ #lingua-franca-ide = super.callPackage ./overlays/lf-eclipse.nix { }; #}) #]; + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ @@ -279,7 +280,7 @@ firefox-wayland # torbrowser #next - rstudio + # rstudio ## time tracking watson ## file managers diff --git a/entropy/nixos/modules/r.nix b/entropy/nixos/modules/r.nix index c068be6..dd63e88 100644 --- a/entropy/nixos/modules/r.nix +++ b/entropy/nixos/modules/r.nix @@ -10,6 +10,14 @@ lazyeval ]; }; + rstudioEnv = rstudioWrapper.override { + packages = with rPackages; [ + ggplot2 + tidyverse + rlang + lazyeval + ]; + }; in - [ R-with-my-packages ]; + [ R-with-my-packages rstudioEnv ]; }