mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: audiobookshelf test
This commit is contained in:
parent
97ee6c4b24
commit
eb63e130eb
4 changed files with 14 additions and 2 deletions
|
@ -1,13 +1,13 @@
|
|||
{ instancesFunctions }:
|
||||
let
|
||||
inherit (instancesFunctions)
|
||||
audiobookshelfLabel
|
||||
audiobookshelfName
|
||||
domain0
|
||||
servicePath
|
||||
sslPath
|
||||
sopsPath
|
||||
;
|
||||
audiobookshelfLabel = "Audiobookshelf";
|
||||
audiobookshelfName = "audiobookshelf";
|
||||
audiobookshelfSubdomain = "books";
|
||||
in
|
||||
{
|
||||
|
|
|
@ -3,6 +3,8 @@ let
|
|||
inherit (instancesFunctions)
|
||||
jellyfinLabel
|
||||
jellyfinName
|
||||
audiobookshelfLabel
|
||||
audiobookshelfName
|
||||
servicePath
|
||||
sopsPath
|
||||
;
|
||||
|
@ -20,6 +22,9 @@ in
|
|||
path0 = "${servicePath}/${jellyfinLabel}";
|
||||
path1 = jellyfinName;
|
||||
path2 = "";
|
||||
path3 = "${servicePath}/${audiobookshelfLabel}";
|
||||
path4 = audiobookshelfName;
|
||||
path6 = "";
|
||||
};
|
||||
ports = {
|
||||
port0 = 445; # Samba
|
||||
|
|
|
@ -4,6 +4,8 @@ let
|
|||
instancesFunctions = {
|
||||
jellyfinLabel = "Jellyfin";
|
||||
jellyfinName = "jellyfin";
|
||||
audiobookshelfLabel = "Audiobookshelf";
|
||||
audiobookshelfName = "audiobookshelf";
|
||||
domain0 = "cloudbert.fun";
|
||||
domain1 = "the-nutrivore.social";
|
||||
domain2 = "the-nutrivore.com";
|
||||
|
|
|
@ -7,6 +7,7 @@ let
|
|||
inherit (flake.config.services.instances)
|
||||
samba
|
||||
jellyfin
|
||||
audiobookshelf
|
||||
;
|
||||
service = samba;
|
||||
in
|
||||
|
@ -23,6 +24,10 @@ in
|
|||
path = jellyfin.paths.path0;
|
||||
writable = "true";
|
||||
};
|
||||
${service.paths.path4} = {
|
||||
path = audiobookshelf.paths.path0;
|
||||
writable = "true";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue