Add Rust env
This commit is contained in:
1 parent
8db6372a01
commit
a984aa289c
1 file changed
+22
Vendored
+22
@@ -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
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user