enable deadnix

This commit is contained in:
Jörg Thalheim 2024-07-06 11:13:17 +02:00 committed by mergify[bot]
parent d10e4f8977
commit b7fef32216
2 changed files with 3 additions and 7 deletions

View File

@ -35,7 +35,7 @@
./checks/flake-module.nix ./checks/flake-module.nix
./formatter.nix ./formatter.nix
]; ];
perSystem = { config, self', system, pkgs, ... }: { perSystem = { self', system, pkgs, ... }: {
checks = checks =
let let

View File

@ -1,12 +1,7 @@
{ {
perSystem = perSystem =
{ config { pkgs, ... }:
, self'
, system
, pkgs
, ...
}:
{ {
treefmt = { treefmt = {
projectRootFile = "flake.nix"; projectRootFile = "flake.nix";
@ -23,6 +18,7 @@
]; ];
programs.hclfmt.enable = true; programs.hclfmt.enable = true;
programs.nixpkgs-fmt.enable = true; programs.nixpkgs-fmt.enable = true;
programs.deadnix.enable = true;
programs.ruff.format = true; programs.ruff.format = true;
programs.ruff.check = true; programs.ruff.check = true;
programs.shfmt.enable = true; programs.shfmt.enable = true;