move yisroelbaum web stack into module
This commit is contained in:
parent
5406f8c991
commit
92d6e4bad7
8 changed files with 81 additions and 204 deletions
|
|
@ -1,34 +0,0 @@
|
|||
{
|
||||
config,
|
||||
domainName,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.rabbi-gerzi = {
|
||||
enable = true;
|
||||
frontend = {
|
||||
hostName = "rabbigerzi.${domainName}";
|
||||
nginx = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
};
|
||||
backend = {
|
||||
hostName = "rabbigerziapi.${domainName}";
|
||||
environmentFile = config.sops.secrets."rabbi-gerzi-env".path;
|
||||
nginx = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sops.secrets."rabbi-gerzi-env" = {
|
||||
sopsFile = ./secrets/rabbi-gerzi.env;
|
||||
format = "dotenv";
|
||||
key = "";
|
||||
mode = "0400";
|
||||
owner = config.services.rabbi-gerzi.user;
|
||||
group = config.services.rabbi-gerzi.group;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue