convention
This commit is contained in:
parent
3bd766d87a
commit
a1265d240b
2
base.nix
2
base.nix
|
@ -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";
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue