dotfiles/config/instances/config/samba.nix
2024-11-10 23:40:39 -06:00

20 lines
407 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
};
}