mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45:12 -05:00
30 lines
640 B
Nix
Executable file
30 lines
640 B
Nix
Executable file
{ instancesFunctions }:
|
|
let
|
|
inherit (instancesFunctions)
|
|
audiobookshelfLabel
|
|
audiobookshelfName
|
|
domain0
|
|
servicePath
|
|
sslPath
|
|
sopsPath
|
|
;
|
|
audiobookshelfSubdomain = "books";
|
|
in
|
|
{
|
|
label = audiobookshelfLabel;
|
|
name = audiobookshelfName;
|
|
sops = {
|
|
path0 = "${sopsPath}/${audiobookshelfName}";
|
|
};
|
|
subdomain = audiobookshelfSubdomain;
|
|
paths = {
|
|
path0 = "${servicePath}/${audiobookshelfLabel}";
|
|
};
|
|
ports = {
|
|
port0 = 8000;
|
|
};
|
|
ssl = {
|
|
cert = "${sslPath}/${audiobookshelfSubdomain}.${domain0}/fullchain.pem";
|
|
key = "${sslPath}/${audiobookshelfSubdomain}.${domain0}/key.pem";
|
|
};
|
|
}
|