From 92d02ed6696fe9d1ce09fbac7ae6b62d70ec1b61 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 29 Mar 2024 11:03:03 -0400 Subject: [PATCH] vscodium: added nix-ide extension and nixfmt dependency --- homeManagerModules/guiApps/vsCodium/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/guiApps/vsCodium/default.nix b/homeManagerModules/guiApps/vsCodium/default.nix index 5467aade..07295fe6 100644 --- a/homeManagerModules/guiApps/vsCodium/default.nix +++ b/homeManagerModules/guiApps/vsCodium/default.nix @@ -7,7 +7,10 @@ config = lib.mkIf config.guiApps.vsCodium.enable { # Necessary fonts. - home.packages = with pkgs; [ (nerdfonts.override { fonts = [ "Noto" ]; }) ]; + home.packages = with pkgs; [ + (nerdfonts.override { fonts = [ "Noto" ]; }) + nixfmt + ]; programs.vscode = { enable = true; @@ -27,6 +30,7 @@ "editor.fontFamily" = "'NotoSansM Nerd Font', 'monospace', monospace"; "window.menuBarVisibility" = "hidden"; "diffEditor.ignoreTrimWhitespace" = false; + "nix.formatterPath" = "nixfmt"; }; extensions = with pkgs; [ @@ -34,6 +38,7 @@ vscode-extensions.catppuccin.catppuccin-vsc-icons vscode-extensions.github.vscode-github-actions vscode-extensions.github.vscode-pull-request-github + vscode-extensions.jnoortheen.nix-ide vscode-extensions.ms-python.python vscode-extensions.ms-vscode.cpptools-extension-pack vscode-extensions.rubymaniac.vscode-paste-and-indent