-
-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
You know just like the README of vscode server repository.
Install as a tarball
{
imports = [
(fetchTarball "https://github.com/nix-community/nixos-vscode-server/tarball/master")
];
services.vscode-server.enable = true;
}
Install as a flake
{
inputs.vscode-server.url = "github:nix-community/nixos-vscode-server";
outputs = { self, nixpkgs, vscode-server }: {
nixosConfigurations.yourhostname = nixpkgs.lib.nixosSystem {
modules = [
vscode-server.nixosModules.default
({ config, pkgs, ... }: {
services.vscode-server.enable = true;
})
];
};
};
}
I don't know how to add this package to my system permanently. And these installation scripts seem a bit imperative rather than declarative.
This may seem unnecessary but i think anything that reduces friction to setting up a feature is a good thing.
Metadata
Metadata
Assignees
Labels
No labels