mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-13 15:24:39 -05:00
29 lines
584 B
Nix
Executable file
29 lines
584 B
Nix
Executable file
{instancesFunctions}: let
|
|
inherit
|
|
(instancesFunctions)
|
|
domain1
|
|
servicePath
|
|
sslPath
|
|
sopsPath
|
|
;
|
|
|
|
nextcloudLabel = "Nextcloud";
|
|
nextcloudName = "nextcloud";
|
|
in {
|
|
label = nextcloudLabel;
|
|
name = nextcloudName;
|
|
sops = {
|
|
path0 = "${sopsPath}/${nextcloudName}";
|
|
};
|
|
subdomain = nextcloudName;
|
|
paths = {
|
|
path0 = "${servicePath}/${nextcloudLabel}";
|
|
};
|
|
ports = {
|
|
port0 = 8354; # Nextcloud
|
|
};
|
|
ssl = {
|
|
cert = "${sslPath}/${nextcloudName}.${domain1}/fullchain.pem";
|
|
key = "${sslPath}/${nextcloudName}.${domain1}/key.pem";
|
|
};
|
|
}
|