Add Rust env

This commit is contained in:
2026-02-13 23:43:09 +01:00
parent 8db6372a01
commit a984aa289c
+22
View File
@@ -0,0 +1,22 @@
{
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
];
};
}