diff options
| author | Mike Vink <mike@pionative.com> | 2024-07-14 06:40:52 +0200 |
|---|---|---|
| committer | Mike Vink <mike@pionative.com> | 2024-07-14 06:40:52 +0200 |
| commit | 98c31cac3e931023b5afeb209af6b6eed2a025c7 (patch) | |
| tree | 4f78891affa3ce2cfbb7f0b1b3efc31d68c87ab7 /profiles/server | |
| parent | f56f38fc344a80244266e0b69f909775599ba5b2 (diff) | |
wip
Diffstat (limited to 'profiles/server')
| -rw-r--r-- | profiles/server/acme.nix | 2 | ||||
| -rw-r--r-- | profiles/server/mail.nix | 10 | ||||
| -rw-r--r-- | profiles/server/nginx.nix | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/profiles/server/acme.nix b/profiles/server/acme.nix index 25303a6..a9fc594 100644 --- a/profiles/server/acme.nix +++ b/profiles/server/acme.nix @@ -3,7 +3,7 @@ acceptTerms = true; defaults = { extraLegoRunFlags = ["--preferred-chain" "ISRG Root X1"]; - email = ivi.email; + email = my.email; dnsProvider = "porkbun"; credentialsFile = config.secrets.porkbun.path; }; diff --git a/profiles/server/mail.nix b/profiles/server/mail.nix index 291e764..7bf0a88 100644 --- a/profiles/server/mail.nix +++ b/profiles/server/mail.nix @@ -11,12 +11,12 @@ enableSubmissionSsl = true; # TODO: configurate a local dns server? - fqdn = ivi.domain; - domains = [ ivi.domain ]; + fqdn = my.domain; + domains = [ my.domain ]; loginAccounts = { - ${ivi.email} = { - hashedPasswordFile = config.secrets.ivi.path; - aliases = [ "@${ivi.domain}" ]; + ${my.email} = { + hashedPasswordFile = config.secrets.my.path; + aliases = [ "@${my.domain}" ]; }; }; certificateScheme = "acme"; diff --git a/profiles/server/nginx.nix b/profiles/server/nginx.nix index d497833..dbabebd 100644 --- a/profiles/server/nginx.nix +++ b/profiles/server/nginx.nix @@ -17,7 +17,7 @@ recommendedGzipSettings = true; recommendedOptimisation = true; - virtualHosts."${ivi.domain}" = { + virtualHosts."${my.domain}" = { }; }; networking.firewall.allowedTCPPorts = [ 80 443 ]; |
