mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
27 lines
430 B
Nix
Executable file
27 lines
430 B
Nix
Executable file
{ instancesFunctions }:
|
|
let
|
|
inherit (instancesFunctions)
|
|
jellyfinLabel
|
|
jellyfinName
|
|
servicePath
|
|
sopsPath
|
|
;
|
|
|
|
sambaLabel = "Samba";
|
|
sambaName = "samba";
|
|
in
|
|
{
|
|
label = sambaLabel;
|
|
name = sambaName;
|
|
sops = {
|
|
path0 = "${sopsPath}/${sambaName}";
|
|
};
|
|
paths = {
|
|
path0 = "${servicePath}/${jellyfinLabel}";
|
|
path1 = jellyfinName;
|
|
path2 = "";
|
|
};
|
|
ports = {
|
|
port0 = 445; # Samba
|
|
};
|
|
}
|