Add a formatter, which can be used by running "nix fmt"
Use nixpkgs-fmt because what it does closely aligns to this repos already established conventions and it doesn't do weird stuff. Also see: https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-fmt.html https://github.com/nix-community/nixpkgs-fmt
This commit is contained in:
parent
a5a994f87f
commit
71e1684f76
1 changed files with 2 additions and 0 deletions
|
@ -220,5 +220,7 @@
|
|||
format = "proxmox";
|
||||
};
|
||||
};
|
||||
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue