From a984aa289c2f005f5123b700fd783cad91fa1b36 Mon Sep 17 00:00:00 2001 From: Laurent Gueret Date: Fri, 13 Feb 2026 23:43:09 +0100 Subject: [PATCH] Add Rust env --- modules/home/common/env/rust.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 modules/home/common/env/rust.nix diff --git a/modules/home/common/env/rust.nix b/modules/home/common/env/rust.nix new file mode 100644 index 0000000..6afef6c --- /dev/null +++ b/modules/home/common/env/rust.nix @@ -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 + ]; + + }; +}