2023-05-21 17:32:58 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
nixpkgs,
|
|
|
|
lib,
|
2023-12-07 18:16:47 +00:00
|
|
|
nixos-vscode-server,
|
2023-05-21 17:32:58 +00:00
|
|
|
...
|
|
|
|
}: let
|
|
|
|
x86_64-linux-pkgs = import nixpkgs {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
in {
|
2023-12-07 18:16:47 +00:00
|
|
|
imports = [
|
|
|
|
"${nixos-vscode-server}/modules/vscode-server/home.nix"
|
|
|
|
];
|
2023-05-21 17:32:58 +00:00
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
|
|
|
extensions = with x86_64-linux-pkgs.vscode-extensions; [
|
|
|
|
];
|
|
|
|
};
|
2023-12-07 18:16:47 +00:00
|
|
|
services.vscode-server.enable = true;
|
2023-05-21 17:32:58 +00:00
|
|
|
}
|