From 08d7a88fd8575067b939c2b9ed7e45d4508e0550 Mon Sep 17 00:00:00 2001 From: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Date: Sat, 14 Feb 2026 12:46:56 +0100 Subject: [PATCH] set pnpm home per OS --- modules/common/neovim.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/common/neovim.nix b/modules/common/neovim.nix index 6f49a90..bcaf944 100644 --- a/modules/common/neovim.nix +++ b/modules/common/neovim.nix @@ -65,7 +65,8 @@ in }; # TODO: the two from the last (below) should be somehow moved to their own files - home.sessionVariables.PNPM_HOME = "$HOME/Library/pnpm"; + home.sessionVariables.PNPM_HOME = + if config.inDarwin then "$HOME/Library/pnpm" else "$HOME/.local/share/pnpm"; home.sessionPath = [ "node_modules/.bin"