Skip to content

Instantly share code, notes, and snippets.

@novaluke
novaluke / home-manager-module.nix
Last active January 3, 2020 23:16 — forked from phryneas/home-manager-module.nix
vscode-liveshare-home-manager-nixos
{pkgs, lib, config, ...}:
with lib;
let
liveshareGist = builtins.fetchTarball {
url = "https://gist.github.com/ottidmes/9360fc1f0fbd8443506b45c2149388a9/archive/3d82dd1d0f2cba3458903de67320ca15689ff53e.tar.gz";
sha256 = "0mas9rnr6hn7yiivjs5xvnprhrqwac47nqfxh3vgmm67v982v83l";
};
livesharePkg = pkgs.callPackage liveshareGist {};
cfg = config.services.vsliveshare;
pkg = livesharePkg.override { enableDiagnosticsWorkaround = cfg.enableDiagnosticsWorkaround; };