Skip to content

Commit

Permalink
Fix mise config in home-manager configuration
Browse files Browse the repository at this point in the history
Note that trusted_config_paths does not work due to issues with mise and
symbolic links.

https: //github.com/jdx/mise/issues/1501
Change-Id: I36b5d5848b703b620a3f98dfd18dc0a0f52764b2
  • Loading branch information
AntonFriberg committed Jan 22, 2024
1 parent 568bf25 commit 9da4567
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .config/home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@
PIP_REQUIRE_VIRTUALENV = "true";
# SSH Agent
SSH_AUTH_SOCK = "$XDG_RUNTIME_DIR/ssh-agent";
# RTX config
RTX_TRUSTED_CONFIG_PATHS = "$HOME/.config/rtx/config.toml";
# # Fix for Red Hat IdM
# LD_PRELOAD = "/lib/x86_64-linux-gnu/libnss_sss.so.2";
};
Expand Down Expand Up @@ -199,24 +197,27 @@
'';
};

programs.rtx = {
# Note that rtx has been renamed mise https://github.com/jdx/mise
programs.mise = {
enable = true;
enableFishIntegration = true;
settings = {
globalConfig = {
tools = {
python = ["3.11" "3.10"];
python = "3.11";
poetry = {
version = "1.6.1";
version = "1.7.1";
};
};
plugins = {
poetry = "https://github.com/mise-plugins/mise-poetry";
};
settings = {
verbose = false;
experimental = true;
};
};
settings = {
verbose = false;
experimental = true;
# https://github.com/jdx/mise/issues/1501
trusted_config_paths = [
"~/.config/mise/config.toml"
];
};
};

Expand Down

0 comments on commit 9da4567

Please sign in to comment.