nixos/services/tandoor.nix

17 lines
293 B
Nix
Raw Normal View History

2024-02-26 17:21:14 +01:00
{
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/";
2024-02-26 17:21:14 +01:00
};
};
}