feat: audiobookshelf test

This commit is contained in:
Nick 2025-03-18 23:05:15 -05:00
parent 97ee6c4b24
commit eb63e130eb
4 changed files with 14 additions and 2 deletions

View file

@ -1,13 +1,13 @@
{ instancesFunctions }:
let
inherit (instancesFunctions)
audiobookshelfLabel
audiobookshelfName
domain0
servicePath
sslPath
sopsPath
;
audiobookshelfLabel = "Audiobookshelf";
audiobookshelfName = "audiobookshelf";
audiobookshelfSubdomain = "books";
in
{

View file

@ -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

View file

@ -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";

View file

@ -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";
};
};
};
};