feat(dotfiles): add session env registry

This commit was merged in pull request #155.
This commit is contained in:
alexion committed 2026-10-11 16:30:00 -04:00
1 parent 250b0b71f9
commit e74a08b853
4 files changed
+10 -6

No files matched your search

+2 -2
View File
@@ -23,9 +23,9 @@ in
lib.mkEnableOption "Rust tools for the primary user's shell environment";
config = lib.mkIf config.modules.shell.rust.enable {
home-manager.users.${user} = {
home.sessionVariables.RUST_TOOLCHAIN_ROOT = "${toolchain}";
registry.env.${config.networking.hostName}.RUST_TOOLCHAIN_ROOT = "${toolchain}";
home-manager.users.${user} = {
home.packages = [
toolchain
pkgs.rust-analyzer