dotfiles/config/instances/config/upRootNutrition.nix
2024-12-19 22:37:17 -06:00

27 lines
615 B
Nix
Executable file

{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 = "";
};
ports = {
port0 = 1234;
};
ssl = {
cert = "${sslPath}/${domain3}/fullchain.pem";
key = "${sslPath}/${domain3}/key.pem";
};
}