Commit Graph
12 Commits
Author SHA1 Message Date
Matt Sturgeon a54ee8ad64 flake-modules: explicitly set the same nixfmt for treefmt + pre-commit 2024-06-05 09:09:08 +01:00
Matt Sturgeon d9789956d9 flake-modules: don't explicitly set treefmt package 2024-06-05 09:09:07 +01:00
Matt Sturgeon 4d1d008e78 flake-modules: treefmt is formatter by default
Remove explicit `formatter = config.treefmt.build.wrapper`, because treefmt's `flakeFormatter` option (default `true`) handles that for us.
2024-06-05 09:09:07 +01:00
Matt Sturgeon ec78d2e1ab flake-modules: drop flake-root
treefmt isn't actually using flake-root to find the flake's root; it
does it itself.

All we were doing was passing flake-root's default `projectRootFile` to
treefmt, which is `"flake.nix"`;
2024-06-05 09:09:07 +01:00
Gaetan LepageandGaétan Lepage 1b892d0784 flake: rename pre-commit-hooks to git-hooks 2024-05-27 13:24:07 +02:00
Gaetan LepageandGaétan Lepage f7f255afe2 flake-modules: add treefmt to fix the 'nix fmt' command 2024-05-07 22:52:27 +02:00
traxys 62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
traxys c6281260dc flake-modules: Use nixfmt instead of alejandra 2024-05-05 22:00:40 +02:00
Loïc ReynierandGitHub 233feeb8d2 treewide: fix typos (#1217) 2024-03-07 19:44:13 +01:00
Gaetan LepageandGaétan Lepage 5293373732 flake/devshell: remove "$@" in 'checks' as it doesn't work 2024-03-06 10:19:42 +01:00
Gaetan LepageandGaétan Lepage 8b0eba515d flake/devshell: forward cli args to commands 2024-03-04 11:45:36 +01:00
Gaetan LepageandGaétan Lepage 274293fd69 flake/dev: add a convenient devshell 2024-03-02 14:51:00 +01:00