enhancement/57 #72
2 changed files with 20 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
{
|
||||
imports = util.toImports ../features [
|
||||
# keep-sorted start
|
||||
"bazarr"
|
||||
"copyparty"
|
||||
"couchdb"
|
||||
"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