mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: added new site stuff
This commit is contained in:
parent
0fd351c9cb
commit
ff826c785a
7 changed files with 61 additions and 2 deletions
24
config/instances/config/upRootNutrition.nix
Executable file
24
config/instances/config/upRootNutrition.nix
Executable 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";
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue