mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: add formatter definition to allow nix fmt
This commit is contained in:
parent
418db9db0c
commit
2701efddda
2 changed files with 4 additions and 9 deletions
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue