flake/devshell: add treefmt to shell

This commit is contained in:
Matt Sturgeon 2025-05-16 04:06:45 +01:00
parent 4c989abc8c
commit 2628efee71
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -16,6 +16,10 @@
devshells.default = {
devshell.startup.pre-commit.text = config.pre-commit.installationScript;
devshell.packages = [
config.formatter
];
commands =
let
# Thanks to this, the user can choose to use `nix-output-monitor` (`nom`) instead of plain `nix`