use treemft and also enable stylua

works well with CI
This commit is contained in:
cy 2024-12-28 10:59:57 -05:00
parent ae72391e42
commit 330feb587f
3 changed files with 57 additions and 20 deletions

37
flake.lock generated
View file

@ -84,6 +84,22 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1733097829,
"narHash": "sha256-9hbb1rqGelllb4kVUCZ307G2k3/UhmA8PPGBoyuWaSw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "2c15aa59df0017ca140d9ba302412298ab4bf22a",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
@ -91,7 +107,8 @@
"nixpkgs-borg": "nixpkgs-borg",
"nixpkgs-evolution": "nixpkgs-evolution",
"nixpkgs-master": "nixpkgs-master",
"sops-nix": "sops-nix"
"sops-nix": "sops-nix",
"treefmt": "treefmt"
}
},
"sops-nix": {
@ -113,6 +130,24 @@
"repo": "sops-nix",
"type": "github"
}
},
"treefmt": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1735135567,
"narHash": "sha256-8T3K5amndEavxnludPyfj3Z1IkcFdRpR23q+T0BVeZE=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "9e09d30a644c57257715902efbb3adc56c79cf28",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
}
},
"root": "root",