chore: add formatter definition to allow nix fmt

This commit is contained in:
oddlama 2023-02-04 02:30:23 +01:00
parent 418db9db0c
commit 2701efddda
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 4 additions and 9 deletions

View file

@ -52,9 +52,6 @@
inherit ((colmena.lib.makeHive self.colmena).introspect (x: x)) nodes;
}
// flake-utils.lib.eachDefaultSystem (system: rec {
checks = import ./nix/checks.nix inputs system;
devShells.default = import ./nix/dev-shell.nix inputs system;
pkgs = import nixpkgs {
inherit system;
overlays = [
@ -64,5 +61,8 @@
};
apps = agenix-rekey.defineApps self pkgs self.nodes;
checks = import ./nix/checks.nix inputs system;
devShells.default = import ./nix/dev-shell.nix inputs system;
formatter = pkgs.alejandra;
});
}

View file

@ -18,13 +18,8 @@ with self.pkgs.${system};
(luajit.withPackages (p: with p; [luacheck]))
sumneko-lua-language-server
# GitHub Actions
act
actionlint
python3Packages.pyflakes
shellcheck
# Misc
shellcheck
jq
pre-commit
rage