Set up local VPN on wireguard network

This commit is contained in:
Charlotte Van Petegem 2022-11-19 00:56:37 +01:00
parent d6619a35fa
commit 6ea7bced38
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 29 additions and 1 deletions

View file

@ -11,7 +11,6 @@ in
chvp.base.zfs.systemLinks = [
{ path = "/var/lib/dhparams"; type = "cache"; }
{ path = "/var/lib/dovecot"; type = "cache"; }
{ path = "/var/lib/knot-resolver"; type = "cache"; }
{ path = "/var/lib/opendkim"; type = "cache"; }
{ path = "/var/lib/postfix"; type = "cache"; }
{ path = "/var/lib/redis-rspamd"; type = "cache"; }
@ -21,6 +20,7 @@ in
enable = true;
fqdn = "mail.vanpetegem.me";
domains = [ "vanpetegem.me" "cvpetegem.be" "chvp.be" "accentor.tech" "toekomstlabo.be" ];
localDnsResolver = false;
loginAccounts = {
"charlotte@vanpetegem.me" = {
hashedPasswordFile = config.age.secrets."passwords/services/mail/charlotte@vanpetegem.me".path;