mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: added samba mount for audiobookshelf
This commit is contained in:
parent
eb63e130eb
commit
4d1a19edfd
3 changed files with 15 additions and 18 deletions
|
@ -1,11 +1,6 @@
|
|||
{ instancesFunctions }:
|
||||
let
|
||||
inherit (instancesFunctions)
|
||||
jellyfinLabel
|
||||
jellyfinName
|
||||
audiobookshelfLabel
|
||||
audiobookshelfName
|
||||
servicePath
|
||||
sopsPath
|
||||
;
|
||||
|
||||
|
@ -19,12 +14,6 @@ in
|
|||
path0 = "${sopsPath}/${sambaName}";
|
||||
};
|
||||
paths = {
|
||||
path0 = "${servicePath}/${jellyfinLabel}";
|
||||
path1 = jellyfinName;
|
||||
path2 = "";
|
||||
path3 = "${servicePath}/${audiobookshelfLabel}";
|
||||
path4 = audiobookshelfName;
|
||||
path6 = "";
|
||||
};
|
||||
ports = {
|
||||
port0 = 445; # Samba
|
||||
|
|
|
@ -20,11 +20,11 @@ in
|
|||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
${service.paths.path1} = {
|
||||
${jellyfin.name} = {
|
||||
path = jellyfin.paths.path0;
|
||||
writable = "true";
|
||||
};
|
||||
${service.paths.path4} = {
|
||||
${audiobookshelf.name} = {
|
||||
path = audiobookshelf.paths.path0;
|
||||
writable = "true";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue