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;
|
inherit ((colmena.lib.makeHive self.colmena).introspect (x: x)) nodes;
|
||||||
}
|
}
|
||||||
// flake-utils.lib.eachDefaultSystem (system: rec {
|
// 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 {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = [
|
overlays = [
|
||||||
|
@ -64,5 +61,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
apps = agenix-rekey.defineApps self pkgs self.nodes;
|
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]))
|
(luajit.withPackages (p: with p; [luacheck]))
|
||||||
sumneko-lua-language-server
|
sumneko-lua-language-server
|
||||||
|
|
||||||
# GitHub Actions
|
|
||||||
act
|
|
||||||
actionlint
|
|
||||||
python3Packages.pyflakes
|
|
||||||
shellcheck
|
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
|
shellcheck
|
||||||
jq
|
jq
|
||||||
pre-commit
|
pre-commit
|
||||||
rage
|
rage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue