Add tandoor service.
This commit is contained in:
parent
56d9b357b5
commit
8007a6de7f
3 changed files with 50 additions and 0 deletions
16
services/tandoor.nix
Normal file
16
services/tandoor.nix
Normal 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/";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue