feat: install bazarr
This commit is contained in:
parent
a314b1022f
commit
f7d138dd19
2 changed files with 20 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
{
|
{
|
||||||
imports = util.toImports ../features [
|
imports = util.toImports ../features [
|
||||||
# keep-sorted start
|
# keep-sorted start
|
||||||
|
"bazarr"
|
||||||
"copyparty"
|
"copyparty"
|
||||||
"couchdb"
|
"couchdb"
|
||||||
"flaresolverr"
|
"flaresolverr"
|
||||||
|
|
|
||||||
19
modules/nixos/features/bazarr.nix
Normal file
19
modules/nixos/features/bazarr.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
let
|
||||||
|
port = 5017;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
bazarr = {
|
||||||
|
enable = true;
|
||||||
|
dataDir = "/srv/bazarr";
|
||||||
|
group = "media";
|
||||||
|
listenPort = port;
|
||||||
|
};
|
||||||
|
|
||||||
|
nginx.virtualHosts."bazarr.fi33.buzz" = {
|
||||||
|
forceSSL = true;
|
||||||
|
useACMEHost = "fi33.buzz";
|
||||||
|
locations."/".proxyPass = "http://localhost:${toString port}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue