switch back to terraform for formatting

This commit is contained in:
Jörg Thalheim 2024-07-01 14:24:08 +02:00
parent 6533ed7b6e
commit 0037d7d218
2 changed files with 6 additions and 5 deletions

View File

@ -313,15 +313,16 @@
]
},
"locked": {
"lastModified": 1719749022,
"narHash": "sha256-ddPKHcqaKCIFSFc/cvxS14goUhCOAwsM1PbMr0ZtHMg=",
"lastModified": 1719836491,
"narHash": "sha256-0kZeCwwYe51lN/9X2eCcBaAxFHeHTN1ieyuq/4UG8xg=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "8df5ff62195d4e67e2264df0b7f5e8c9995fd0bd",
"rev": "e78a4ce2041d5179f84b9a91001d9d35e72d3d21",
"type": "github"
},
"original": {
"owner": "numtide",
"ref": "opentofu",
"repo": "treefmt-nix",
"type": "github"
}

View File

@ -12,7 +12,7 @@
flake-compat.url = "github:edolstra/flake-compat";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.url = "github:numtide/treefmt-nix/opentofu";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
nixos-mailserver = {
@ -63,7 +63,7 @@
{
treefmt = {
projectRootFile = ".git/config";
programs.hclfmt.enable = true;
programs.terraform.enable = true;
programs.nixfmt-rfc-style.enable = true;
settings.formatter.nixfmt-rfc-style.excludes = [
# generated files