Add tandoor service.

This commit is contained in:
Kevin Baensch 2024-02-26 17:21:14 +01:00
parent 56d9b357b5
commit 8007a6de7f
Signed by: derped
GPG key ID: C0F1D326C7626543
3 changed files with 50 additions and 0 deletions

16
services/tandoor.nix Normal file
View file

@ -0,0 +1,16 @@
{
config,
lib,
pkgs,
...
}:
with lib;
mkIf (elem "tandoor" config.machine.services) {
services.tandoor-recipes = {
enable = true;
extraConfig = {
# Set explicitly so it can be referenced by web-server
MEDIA_ROOT = "/var/lib/tandoor-recipes/media/";
};
};
}