Switch back to VSCode

This commit is contained in:
Smaug123
2021-11-21 08:18:17 +00:00
parent cab153ca17
commit e2cc0a629a
2 changed files with 21 additions and 18 deletions

View File

@@ -44,6 +44,9 @@ let gmp =
}))
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"vscode"
];
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;

View File

@@ -50,24 +50,24 @@ let dotnet = pkgs.dotnet-sdk_6; in
pkgs.pijul
];
#programs.vscode = {
# enable = true;
# package = pkgs.vscodium;
# extensions = import ./vscode-extensions.nix { inherit pkgs; };
# userSettings = {
# workbench.colorTheme = "Default High Contrast";
# "files.Exclude" = {
# "**/.git" = true;
# "**/.DS_Store" = true;
# "**/Thumbs.db" = true;
# "**/*.olean" = true;
# };
# "git.path" = "${pkgs.git}/bin/git";
# "update.mode" = "none";
# "docker.dockerPath" = "${pkgs.docker}/bin/docker";
# "lean.leanpkgPath" = "${pkgs.elan}/bin/leanpkg";
# };
#};
programs.vscode = {
enable = true;
package = pkgs.vscode;
extensions = import ./vscode-extensions.nix { inherit pkgs; };
userSettings = {
workbench.colorTheme = "Default High Contrast";
"files.Exclude" = {
"**/.git" = true;
"**/.DS_Store" = true;
"**/Thumbs.db" = true;
"**/*.olean" = true;
};
"git.path" = "${pkgs.git}/bin/git";
"update.mode" = "none";
"docker.dockerPath" = "${pkgs.docker}/bin/docker";
"lean.leanpkgPath" = "${pkgs.elan}/bin/leanpkg";
};
};
programs.tmux = {
shell = "\${pkgs.zsh}/bin/zsh";