mirror of
https://github.com/Superredstone/patrickcanal.it.git
synced 2026-09-20 17:51:12 +02:00
26 lines
346 B
Nix
26 lines
346 B
Nix
{
|
|
...
|
|
}:
|
|
|
|
{
|
|
languages.python = {
|
|
enable = true;
|
|
version = "3.14";
|
|
venv = {
|
|
enable = true;
|
|
requirements = ./requirements.txt;
|
|
};
|
|
|
|
};
|
|
|
|
git-hooks.hooks = {
|
|
ruff.enable = true;
|
|
djlint = {
|
|
enable = true;
|
|
name = "djlint";
|
|
entry = "djlint --check .";
|
|
types = [ "html" ];
|
|
};
|
|
};
|
|
}
|