nixos-config/config/apps/vscode.nix

26 lines
630 B
Nix

{ pkgs, ... }:
{
programs.vscode = {
enable = true;
extensions = with pkgs.vscode-extensions; [
eamodio.gitlens
jnoortheen.nix-ide
scalameta.metals
kamikillerto.vscode-colorize
file-icons.file-icons
];
userSettings = {
"security.workspace.trust.untrustedFiles" = "open";
"workbench.colorTheme" = "Default Dark Modern";
"workbench.iconTheme" = "file-icons";
"files.autoSave" = "afterDelay";
"editor.formatOnSave" = true;
"nix.formatterPath" = "nixpkgs-fmt";
"colorize.languages" = [
"javascript"
"nix"
];
};
};
}