nixos/services/tandoor.nix

16 lines
293 B
Nix

{
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/";
};
};
}