Add env file

This commit is contained in:
Administrateur committed 2026-02-17 15:22:31 +01:00
1 parent d3dd555895
commit ce81e66652
8 files changed
+94 -17

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
{
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
maven
];
};
}
+23
View File
@@ -0,0 +1,23 @@
{
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; [
python315
uv
];
};
}
+25
View File
@@ -0,0 +1,25 @@
{
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; [
rust-bin.stable.latest.default.override
{
extensions = [ "rust-src" ];
}
];
};
}