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"; example = "example.com";
description = "Domain of the machine, use for hostname"; description = "Domain of the machine, use for hostname";
}; };
admin_email = mkOption { adminEmail = mkOption {
type = types.str; type = types.str;
example = "example@example.com"; example = "example@example.com";
description = "Email of the admin, use for ACME and stuff"; description = "Email of the admin, use for ACME and stuff";

View file

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

View file

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