switch to nixfmt from nixpkgs-fmt

This commit is contained in:
Jörg Thalheim
2024-07-15 16:47:54 +02:00
parent 52bc590c07
commit 14100f105c
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
coreutils,
nil,
nixd,
nixpkgs-fmt,
nixfmt-rfc-style,
direnv,
vscode-extensions,
vscode-with-extensions,
@@ -25,7 +25,7 @@ writeShellApplication {
coreutils
nil
nixd
nixpkgs-fmt
nixfmt-rfc-style
direnv
];
text = ''

View File

@@ -2,11 +2,11 @@
"security.workspace.trust.enabled": false,
"nix.enableLanguageServer": true,
"nix.serverPath": "nixd",
"nix.formatterPath": "nixpkgs-fmt",
"nix.formatterPath": "nixfmt",
"nix.serverSettings": {
"nixd": {
"formatting": {
"command": "nixpkgs-fmt"
"command": "nixfmt"
},
"options": {
"nixos": {