convention

This commit is contained in:
Histausse 2023-04-20 00:12:13 +02:00
parent 3bd766d87a
commit a1265d240b
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ in {
example = "example.com";
description = "Domain of the machine, use for hostname";
};
admin_email = mkOption {
adminEmail = mkOption {
type = types.str;
example = "example@example.com";
description = "Email of the admin, use for ACME and stuff";

View file

@ -73,7 +73,7 @@ in
# NGINX
security.acme.acceptTerms = true;
security.acme.defaults.email = cfgBase.admin_email;
security.acme.defaults.email = cfgBase.adminEmail;
services.nginx = {
enable = true;
virtualHosts = {

View file

@ -49,7 +49,7 @@ in
# NGINX
security.acme.acceptTerms = true;
security.acme.defaults.email = cfgBase.admin_email;
security.acme.defaults.email = cfgBase.adminEmail;
services.nginx = {
enable = true;