unstable code-server

This commit is contained in:
Peder Bergebakken Sundt 2023-03-19 18:42:21 +01:00
parent b3e4c4cd0a
commit 217c821750
1 changed files with 15 additions and 3 deletions

View File

@ -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";