aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-07-04 13:47:18 -0700
committerFranck Cuny <franck@fcuny.net>2024-07-04 13:47:18 -0700
commitbb617eea58ac35679ed9568b103fdd8d5a0937b0 (patch)
tree3f555130bf1dcd31ad413515ade89f1e285d4448 /flake.nix
parentfix yaml (diff)
downloadfcuny.net-bb617eea58ac35679ed9568b103fdd8d5a0937b0.tar.gz
add the feed and a few more fixes
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;