Add R env
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
home.env.jdk.enable = true;
|
||||
home.env.python.enable = true;
|
||||
home.env.rust.enable = true;
|
||||
home.env.r.enable = true;
|
||||
|
||||
# No Home Application Folders
|
||||
targets.darwin.linkApps.enable = false;
|
||||
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.env.r;
|
||||
in
|
||||
{
|
||||
options.home.env.r = {
|
||||
enable = mkEnableOption "Zen Editor options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
R
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
Vendored
+4
@@ -18,5 +18,9 @@ in
|
||||
rustup
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
RUSTUP_HOME = ".rustup";
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user