Fix vscode nix formatter

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-02-17 09:24:41 +00:00
parent a0d7075e01
commit 16ef0a2a6b

View File

@@ -12,10 +12,9 @@ lib.mkIf config.programs.vscode.languages.nix.enable {
"nix.serverSettings" = { "nix.serverSettings" = {
nil = { nil = {
formatting.command = [ formatting.command = [
(lib.meta.getExe pkgs.nix) (lib.meta.getExe pkgs.nixfmt-rfc-style)
"fmt"
"--"
"--" "--"
"-"
]; ];
nix = { nix = {
maxMemoryMB = null; maxMemoryMB = null;