🧑‍💻 setup vscode nix-ide

This commit is contained in:
Laureηt 2023-05-07 23:30:38 +02:00
parent 8fec5af31b
commit fa7afb036e
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -3,7 +3,7 @@
enable = true; enable = true;
package = pkgs.vscode; package = pkgs.vscode;
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [
github.copilot # github.copilot
eamodio.gitlens eamodio.gitlens
editorconfig.editorconfig editorconfig.editorconfig
ms-vsliveshare.vsliveshare ms-vsliveshare.vsliveshare
@ -12,11 +12,10 @@
tamasfe.even-better-toml tamasfe.even-better-toml
mkhl.direnv mkhl.direnv
bbenoist.nix jnoortheen.nix-ide
brettm12345.nixfmt-vscode
catppuccin.catppuccin-vsc catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons # catppuccin.catppuccin-vsc-icons
]; ];
userSettings = { userSettings = {
"editor.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Color Emoji'"; "editor.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Color Emoji'";
@ -37,6 +36,9 @@
"editor.inlineSuggest.enabled" = true; "editor.inlineSuggest.enabled" = true;
"liveshare.presence" = true; "liveshare.presence" = true;
"github.copilot.enable" = { "*" = true; }; "github.copilot.enable" = { "*" = true; };
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nil";
"nix.serverSettings"."nil"."formatting"."command" = [ "nixfmt" ];
}; };
}; };
} }