Clean of env files

This commit is contained in:
2026-02-16 12:27:29 +01:00
parent aaed9ad61f
commit 5e42a1aa37
8 changed files with 7 additions and 96 deletions
-29
View File
@@ -1,29 +0,0 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.home.env.jdk;
in
{
options.home.env.jdk = {
enable = mkEnableOption "Zen Editor options";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
jdk25
];
home.sessionVariables = {
JAVA_HOME = "${pkgs.jdk25}";
M2_HOME = "${config.xdg.dataHome}/maven";
MVN_HOME = "${config.xdg.dataHome}/maven";
MAVEN_HOME = "${config.xdg.dataHome}/maven";
};
};
}
-23
View File
@@ -1,23 +0,0 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.home.env.python;
in
{
options.home.env.python = {
enable = mkEnableOption "Zen Editor options";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
python3
uv
];
};
}
-27
View File
@@ -1,27 +0,0 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.home.env.rust;
in
{
options.home.env.rust = {
enable = mkEnableOption "Zen Editor options";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
rustup
];
home.sessionVariables = {
CARGO_HOME = "${config.xdg.dataHome}/cargo";
RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
};
};
}
@@ -6,16 +6,16 @@
}:
with lib;
let
cfg = config.home.env.r;
cfg = config.home.env.shell;
in
{
options.home.env.r = {
options.home.env.shell = {
enable = mkEnableOption "Zen Editor options";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
R
devenv
];
};
-1
View File
@@ -14,7 +14,6 @@ in
"pycharm"
"clion"
"rustrover"
"dataspell"
];
};