-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathflake.nix
More file actions
22 lines (22 loc) · 769 Bytes
/
flake.nix
File metadata and controls
22 lines (22 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
description = "Vegans In Love with Food";
inputs = {
canivete.url = github:schradert/canivete;
nix2container.url = github:nlewo/nix2container;
nix2container.inputs.nixpkgs.follows = "canivete/nixpkgs";
};
outputs = inputs:
inputs.canivete.lib.mkFlake {inherit inputs;} {
imports = [./infra];
# TODO implement pre-commit across entire repo
perSystem.pre-commit.settings = {
excludes = ["static" "scripts" "raw" "places" "html"];
hooks.no-commit-to-branch.settings.branch = ["develop"];
hooks.lychee.settings.flags = "--exclude googleapis";
hooks.markdownlint.settings.configuration = {
MD013.line_length = -1;
MD033.allowed_elements = ["span"];
};
};
};
}