cleaning process

This commit is contained in:
2026-07-06 22:08:50 +02:00
parent ddfa93ddda
commit 4e922387bf
7 changed files with 28 additions and 90 deletions
-27
View File
@@ -1,27 +0,0 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.home.env.jdk;
in
{
options.home.env.jdk = {
enable = mkEnableOption "System nh service";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
jdk25_headless
];
home.sessionVariables = {
JAVA_HOME = "${pkgs.jdk25_headless}";
M2_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/m2";
};
};
}
-22
View File
@@ -1,22 +0,0 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.home.env.python;
in
{
options.home.env.python = {
enable = mkEnableOption "System nh service";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
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 "System nh service";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
rustup
];
home.sessionVariables = {
CARGO_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/cargo";
RUSTUP_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/rustup";
};
};
}