From c23168acf558fc24adc8240533c4fbf9591f183e Mon Sep 17 00:00:00 2001 From: Louis Orleans Date: Tue, 5 Aug 2025 12:44:27 -0700 Subject: [PATCH] vscode: specify full path The script executes in `/usr/local/bin`, so specifying the full path to the `Library` dir is necessary. --- modules/programs/vscode/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/vscode/default.nix b/modules/programs/vscode/default.nix index 818cbb661..9fa8f67dc 100644 --- a/modules/programs/vscode/default.nix +++ b/modules/programs/vscode/default.nix @@ -46,7 +46,7 @@ let userDir = if pkgs.stdenv.hostPlatform.isDarwin then - "Library/Application Support/${configDir}/User" + "${config.home.homeDirectory}/Library/Application Support/${configDir}/User" else "${config.xdg.configHome}/${configDir}/User";