From a21abe2f8fa46e1feb66b9077ce01cb16d199975 Mon Sep 17 00:00:00 2001 From: Eclypsed Date: Mon, 27 Oct 2025 17:47:52 -0400 Subject: [PATCH] Added fix for vscode remote ssh, using custom ssh config file path --- modules/home/vscode.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/home/vscode.nix b/modules/home/vscode.nix index 1cd0eae..3062138 100644 --- a/modules/home/vscode.nix +++ b/modules/home/vscode.nix @@ -50,6 +50,12 @@ "workbench.colorTheme" = "Catppuccin Mocha"; "catppuccin.accentColor" = "flamingo"; + # Remote SSH + # VSCode attempts to write to ~/.ssh/config for remote ssh connections. + # Because ~/.ssh/config is managed with home-manager, it is not writeable. + # So we specify a custom ssh config path + "remote.SSH.configFile" = "/home/eclypse/.ssh/vscode-config"; + # Prettier "editor.defaultFormatter" = "esbenp.prettier-vscode"; "prettier.bracketSpacing" = true;