Add R env

This commit is contained in:
2026-02-14 07:43:00 +01:00
parent a984aa289c
commit eba6982552
3 changed files with 28 additions and 0 deletions
+22
View File
@@ -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
];
};
}
+4
View File
@@ -18,5 +18,9 @@ in
rustup
];
home.sessionVariables = {
RUSTUP_HOME = ".rustup";
};
};
}