aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 3b11599..8f37065 100644
--- a/flake.nix
+++ b/flake.nix
@@ -26,7 +26,7 @@
buildInputs = [ zola git ];
buildPhase = ''
mkdir -p $out
- ${pkgs.zola}/bin/zola build -o $out
+ ${pkgs.zola}/bin/zola build -o $out -f
'';
dontInstall = true;
};
@@ -42,6 +42,10 @@
src = ./.;
hooks = {
nixpkgs-fmt.enable = true;
+ check-toml.enable = true;
+ check-yaml.enable = true;
+ check-merge-conflicts.enable = true;
+ end-of-file-fixer.enable = true;
};
};
formatting = treefmtEval.config.build.check self;