mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
refactor(mediabox): library mounts
This commit is contained in:
parent
228e2cf788
commit
59c61d021e
20 changed files with 416 additions and 101 deletions
|
|
@ -1,12 +1,11 @@
|
|||
{config, ...}: {
|
||||
services = {
|
||||
bazarr = {
|
||||
enable = true;
|
||||
listenPort = 6767;
|
||||
};
|
||||
|
||||
nginx.virtualHosts."bazarr.gensokyo.zone" = {
|
||||
locations."/".proxyPass = "http://localhost:${toString config.services.bazarr.listenPort}";
|
||||
};
|
||||
{
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in {
|
||||
services.bazarr = {
|
||||
enable = mkDefault true;
|
||||
listenPort = mkDefault 6767;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue