feat: added new site stuff

This commit is contained in:
Nick 2024-12-08 22:53:40 -06:00
parent 0fd351c9cb
commit ff826c785a
7 changed files with 61 additions and 2 deletions

View file

@ -0,0 +1,24 @@
{instancesFunctions}: let
inherit (instancesFunctions) domain3 servicePath sslPath sopsPath;
upRootNutritionLabel = "upRootNutrition";
upRootNutritionName = "uprootnutrition";
in {
label = upRootNutritionLabel;
name = upRootNutritionName;
email = {
address0 = "nick@${domain3}";
};
sops = {
path0 = "${sopsPath}/${upRootNutritionName}";
};
paths = {
path0 = "${servicePath}/${upRootNutritionLabel}";
path1 = "";
path2 = "";
};
ssl = {
cert = "${sslPath}/${domain3}/fullchain.pem";
key = "${sslPath}/${domain3}/key.pem";
};
}

View file

@ -1,10 +1,11 @@
{instancesFunctions}: let
inherit (instancesFunctions) domain0 domain1 domain2;
inherit (instancesFunctions) domain0 domain1 domain2 domain3;
in {
domains = {
url0 = domain0;
url1 = domain1;
url2 = domain2;
url3 = domain3;
};
dns = {
provider0 = "namecheap";

View file

@ -7,6 +7,7 @@ let
domain0 = "cloudbert.fun";
domain1 = "the-nutrivore.social";
domain2 = "the-nutrivore.com";
domain3 = "uprootnutrition.com";
servicePath = "/mnt/media/NAS1";
sopsPath = "/var/lib/secrets";
sslPath = "/var/lib/acme";