mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-16 16:54:39 -05:00
refactor: complete overhaul
This commit is contained in:
parent
fb3e6fed86
commit
0541b3d61f
154 changed files with 936 additions and 904 deletions
23
config/instances/config/nextcloud.nix
Normal file
23
config/instances/config/nextcloud.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue