mob next [ci-skip] [ci skip] [skip ci]
lastFile:machines/b4l/configuration.nix
This commit is contained in:
@@ -19,4 +19,18 @@
|
|||||||
services.nginx.virtualHosts."${config.networking.fqdn}" = {
|
services.nginx.virtualHosts."${config.networking.fqdn}" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
clan.core.vars.generators.acme = {
|
||||||
|
share = true;
|
||||||
|
files.email.secret = false;
|
||||||
|
|
||||||
|
prompts.email = {
|
||||||
|
type = "line";
|
||||||
|
description = "Email for ACME registeration";
|
||||||
|
};
|
||||||
|
|
||||||
|
script = ''
|
||||||
|
cat $prompts/email > $out/email
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user