167.233.1.14: configure for vscode remote-ssh target

This commit is contained in:
steveej 2020-11-25 23:27:29 +01:00
parent 619046f05a
commit 7c69793d45
4 changed files with 26 additions and 18 deletions

View file

@ -168,21 +168,21 @@ in {
# unstablepkgs.atom # unstablepkgs.atom
xclip xclip
xsel xsel
unstablepkgs.vscode (unstablepkgs.vscode-with-extensions.override {
# (vscode-with-extensions.override { vscodeExtensions =
# # When the extension is already available in the default extensions set. (with unstablepkgs.vscode-extensions; [
# vscodeExtensions = with vscode-extensions; [ bbenoist.Nix
# ] ms-vscode-remote.remote-ssh
# # Concise version from the vscode market place when not available in the default set. ])
# ++ vscode-utils.extensionsFromVscodeMarketplace [ ++ unstablepkgs.vscode-utils.extensionsFromVscodeMarketplace [
# { {
# name = "vsliveshare"; name = "remote-ssh-edit";
# publisher = "MS-vsliveshare"; publisher = "ms-vscode-remote";
# version = "0.3.198"; version = "0.56.0";
# sha256 = "019ffyxca3qnqyz1fr7vh0plfdkc3ikr8v295z846lghvwlzjqdh"; sha256 = "1gy03ff2xqg7q3y4j47z2l94x5gbw0mjd5h4cl3n0q3iaswk1c1r";
# } }
# ]; ];
# }) })
# Image/Graphic/Design Tools # Image/Graphic/Design Tools
gnome3.eog gnome3.eog

View file

@ -1,4 +1,4 @@
{ pkgs }: { pkgs, extraPackages ? [] }:
let let
zshCurried = import ../programs/zsh.nix { inherit pkgs; }; zshCurried = import ../programs/zsh.nix { inherit pkgs; };
@ -26,7 +26,7 @@ in {
home.sessionVariables = { home.sessionVariables = {
}; };
home.packages = [] home.packages = extraPackages
++ (with pkgs; [ ++ (with pkgs; [
iperf3 iperf3
telnet telnet

View file

@ -8,7 +8,13 @@
nixpkgs.config.packageOverrides = pkgs: with pkgs; { nixpkgs.config.packageOverrides = pkgs: with pkgs; {
nixPath = (import ../../../default.nix { versionsPath = ./versions.nix; }).nixPath; nixPath = (import ../../../default.nix { versionsPath = ./versions.nix; }).nixPath;
}; };
home-manager.users.steveej = import ../../../home-manager/configuration/text-minimal.nix { inherit pkgs; }; home-manager.users.steveej = import ../../../home-manager/configuration/text-minimal.nix {
inherit pkgs;
extraPackages = [
# required by vscode's remote-ssh plugin
pkgs.nodejs
];
};
nix.buildMachines = [ nix.buildMachines = [
{ hostName = "localhost"; { hostName = "localhost";

View file

@ -92,6 +92,8 @@ in {
networking.useHostResolvConf = true; networking.useHostResolvConf = true;
services.openssh.forwardX11 = true;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave