diff --git a/homeManagerModules/desktopPrograms/vscodium.nix b/homeManagerModules/desktopPrograms/vscodium.nix index 7f2e1b2..16dd5e2 100644 --- a/homeManagerModules/desktopPrograms/vscodium.nix +++ b/homeManagerModules/desktopPrograms/vscodium.nix @@ -34,6 +34,15 @@ "workbench.sideBar.location" = "right"; "workbench.startupEditor" = "welcomePageInEmptyWorkbench"; "nix.enableLanguageServer" = true; + "nix.serverPath" = "nixd"; + "nix.serverSettings" = { + "nixd" = { + "formatting" = { + "command" = [ "nixfmt" ]; + }; + }; + }; + "C_Cpp.clang_format_fallbackStyle" = "LLVM"; "editor.fontFamily" = "FiraCode Nerd Font Mono"; "editor.fontLigatures" = true; diff --git a/hosts/main-laptop/home.nix b/hosts/main-laptop/home.nix index bea1d3f..26a917c 100644 --- a/hosts/main-laptop/home.nix +++ b/hosts/main-laptop/home.nix @@ -34,6 +34,8 @@ qbittorrent nil nixd + nixpkgs-fmt + nixfmt-rfc-style fira-code-nerdfont powertop git-credential-manager