Add env file

This commit is contained in:
2026-02-17 15:22:31 +01:00
parent d3dd555895
commit ce81e66652
8 changed files with 94 additions and 17 deletions
+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" ];
}
];
};
}