Skip to content

Commit

Permalink
home/lyc/modules/programs/vscode: add support for remote SSH platform…
Browse files Browse the repository at this point in the history
…s in configuration
  • Loading branch information
inclyc committed Jan 20, 2025
1 parent 38fbfd7 commit d1fe6e0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion home/lyc/modules/programs/vscode/vscode.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}:
{
programs.vscode = {
enable = lib.mkDefault false;
Expand Down Expand Up @@ -46,6 +51,9 @@
folders = [ ];
}
];

# Remote SSH platforms.
"remote.SSH.remotePlatform" = lib.mapAttrs (name: value: "linux") config.programs.ssh.matchBlocks;
}
);
};
Expand Down

0 comments on commit d1fe6e0

Please sign in to comment.