Add rust and other jetbrain IDE

This commit is contained in:
2026-02-20 19:27:36 +01:00
parent de17456cc2
commit 1b7fd51ce0
3 changed files with 11 additions and 0 deletions
+3
View File
@@ -30,6 +30,9 @@
{ app = "/Applications/PyCharm.app"; } { app = "/Applications/PyCharm.app"; }
{ app = "/Applications/CLion.app"; } { app = "/Applications/CLion.app"; }
{ app = "/Applications/RustRover.app"; } { app = "/Applications/RustRover.app"; }
{ app = "/Applications/PhpStorm.app"; }
{ app = "/Applications/RubyMine.app"; }
{ app = "/Applications/GoLand.app"; }
{ app = "/Applications/Ghostty.app"; } { app = "/Applications/Ghostty.app"; }
]; ];
persistent-others = [ ]; persistent-others = [ ];
+5
View File
@@ -1,4 +1,5 @@
{ {
pkgs,
lib, lib,
config, config,
... ...
@@ -13,6 +14,10 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [
rustup
];
home.sessionVariables = { home.sessionVariables = {
CARGO_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/cargo"; CARGO_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/cargo";
RUSTUP_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/rustup"; RUSTUP_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/rustup";
+3
View File
@@ -14,6 +14,9 @@ in
"pycharm" "pycharm"
"clion" "clion"
"rustrover" "rustrover"
"phpstorm"
"rubymine"
"goland"
]; ];
}; };