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, coreutils,
nil, nil,
nixd, nixd,
nixpkgs-fmt, nixfmt-rfc-style,
direnv, direnv,
vscode-extensions, vscode-extensions,
vscode-with-extensions, vscode-with-extensions,
@@ -25,7 +25,7 @@ writeShellApplication {
coreutils coreutils
nil nil
nixd nixd
nixpkgs-fmt nixfmt-rfc-style
direnv direnv
]; ];
text = '' text = ''

View File

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