Skip to content

Commit

Permalink
use mise shims again
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmorley committed Sep 5, 2024
1 parent d4d6305 commit cbd4151
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ in {
DOCKER_HOST = "unix:///Users/jonathan/.colima/default/docker.sock";
PKG_CONFIG_PATH = "${config.homebrew.brewPrefix}/../lib/pkgconfig";
NODE_EXTRA_CA_CERTS = lib.optional cvent "/Library/Application Support/Netskope/STAgent/download/nscacert.pem";
MISE_RUBY_INSTALL = "true";
};

fonts.packages = [
Expand Down
12 changes: 9 additions & 3 deletions home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ in {
core.sshCommand = "ssh -i ${builtins.toFile "github.com.pub" sshKeys."github.com"}";
credential = {
"https://gist.github.com" = {
helper = "gh auth git-credential";
helper = "!gh auth git-credential";
username = "jonathanmorley";
};
"https://github.com" = {
helper = "gh auth git-credential";
helper = "!gh auth git-credential";
username = "jonathanmorley";
};
};
Expand Down Expand Up @@ -114,7 +114,10 @@ in {
};
programs.java.enable = true;
programs.jq.enable = true;
programs.mise.enable = true;
programs.mise = {
enable = true;
enableZshIntegration = false;
};
programs.neovim = {
defaultEditor = true;
enable = true;
Expand Down Expand Up @@ -178,6 +181,8 @@ in {
syntaxHighlighting.enable = true;
initExtra = ''
export PATH="''${PATH}:''${HOME}/.cargo/bin"
# We want shims so that commands executed without a shell still use mise
eval "$(${lib.getExe pkgs.mise} activate --shims zsh)"
'';
oh-my-zsh = {
enable = true;
Expand All @@ -203,6 +208,7 @@ in {
duf
gnugrep
ipcalc
mtr
oktaws
tree
unixtools.watch
Expand Down

0 comments on commit cbd4151

Please sign in to comment.