Skip to content

Commit

Permalink
add some pre-commit-check hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
bbigras committed Jun 28, 2022
1 parent da19267 commit 3220ebb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ let
pre-commit-check = pre-commit-hooks.lib.${system}.run {
src = ./.;
hooks = {
nixpkgs-fmt.enable = true;
alejandra.enable = false;
nix-linter.enable = true;
nixpkgs-fmt.enable = true;
shellcheck.enable = true;
shfmt.enable = true;
statix.enable = true;
};
# generated files
excludes = [ ];
Expand Down
5 changes: 1 addition & 4 deletions test.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{ ... }:

let
dendrite-demo-pinecone = (import ./default.nix { }).main;
in
{
name = "dendrite-demo-pinecone-test";
nodes.server = { ... }: {

nodes.server = {
systemd.services.matrix-pinecone = {
description = "matrix-pinecone";
serviceConfig = {
Expand Down

0 comments on commit 3220ebb

Please sign in to comment.