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