diff --git a/profiles/code-remote/default.nix b/profiles/code-remote/default.nix index 2df3733..5d4d369 100644 --- a/profiles/code-remote/default.nix +++ b/profiles/code-remote/default.nix @@ -41,7 +41,9 @@ in { hostAddress = "10.240.100.2"; localAddress = "10.240.100.3"; - config = { config, pkgs, lib, ... }: { + #nixpkgs = inputs.unstable; + config = let host-cfg = config; in { config, pkgs, lib, ... }: { + nixpkgs.overlays = host-cfg.nixpkgs.overlays; system.stateVersion = "22.11"; imports = [ inputs.home-manager.nixosModule ]; @@ -109,7 +111,8 @@ in { ]; package = pkgs.vscode-with-extensions.override { - vscode = pkgs.code-server.overrideAttrs (old: { + #vscode = pkgs.code-server.overrideAttrs (old: { + vscode = pkgs.unstable.code-server.overrideAttrs (old: { # vscode-with-extensions compatibility # https://github.com/NixOS/nixpkgs/pull/192889 passthru.executableName = "code-server"; @@ -117,10 +120,19 @@ in { }); #vscodeExtensions = with pkgs.unstable.vscode-extensions; [ vscodeExtensions = with pkgs.vscode-extensions; [ - shd101wyy.markdown-preview-enhanced + #shd101wyy.markdown-preview-enhanced sanaajani.taskrunnercode # doesn't work? tomoki1207.pdf # no firefox? ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ + { + name = "markdown-preview-enhanced"; + publisher = "shd101wyy"; + #version = "0.6.7"; + #sha256 = "5tgxpjkpbgv8HcfLBbDcOOEd8swinK5iHtnO34892ik="; + version = "0.6.8"; + sha256 = "9NRaHgtyiZJ0ic6h1B01MWzYhDABAl3Jm2IUPogYWr0="; + } + /* === */ { name = "new-railscasts"; publisher = "carakan";