Skip to content

Commit

Permalink
x64-linux-dev: add nixos-vscode-server for remote development
Browse files Browse the repository at this point in the history
this module is merely for patching the binaries that are installed by
vscodium's remote-SSH plugin. it doesn't provide any actual servers.
  • Loading branch information
steveej committed Jul 18, 2024
1 parent 0c6aba9 commit 05b949b
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 1 deletion.
69 changes: 68 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@
holoNixpkgs.url = "https://hydra.holo.host/channel/custom/holo-nixpkgs/2112/holo-nixpkgs/nixexprs.tar.xz";

nixpkgsPulumi.url = "github:steveej-forks/nixpkgs/pulumi-version-bump";

nixos-vscode-server.url = "github:nix-community/nixos-vscode-server";
};

outputs = inputs @ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ in {
home-manager.users.dev = {pkgs, ...}: {
home.packages = [
# additional packages for this user go here
pkgs.nil
pkgs.wget
pkgs.file
];
};

Expand All @@ -40,6 +43,19 @@ in {
{
services.devMinio.enable = true;
}

inputs.nixos-vscode-server.nixosModules.default
({
config,
pkgs,
...
}: {
services.vscode-server = {
enable = true;
installPath = "$HOME/.vscodium-server";
nodejsPackage = pkgs.nodejs_18;
};
})
];

nix.settings.system-features = [
Expand Down

0 comments on commit 05b949b

Please sign in to comment.