bvm-forgejo: changes to better support IPv6 mailing
This commit is contained in:
parent
8919df8542
commit
96eebb817d
1 changed files with 6 additions and 1 deletions
|
@ -43,6 +43,11 @@ in {
|
|||
};
|
||||
my.ip.tailscale = "100.103.26.78";
|
||||
my.ip.tailscale6 = "fd7a:115c:a1e0::8d01:1a4e";
|
||||
boot.kernel.sysctl = {
|
||||
# We have statically-configured v6.
|
||||
"net.ipv6.conf.all.accept_ra" = 0;
|
||||
"net.ipv6.conf.default.accept_ra" = 0;
|
||||
};
|
||||
|
||||
services.openssh.ports = [ 20022 ];
|
||||
my.deploy.args = "-p 20022";
|
||||
|
@ -60,13 +65,13 @@ in {
|
|||
smtpd_milters = ${config.services.opendkim.socket}
|
||||
non_smtpd_milters = ${config.services.opendkim.socket}
|
||||
'';
|
||||
networks = [ "172.17.0.0/16" ];
|
||||
};
|
||||
services.opendkim = {
|
||||
enable = true;
|
||||
domains = "csl:git.lukegb.com";
|
||||
selector = "bvm-forgejo";
|
||||
};
|
||||
systemd.services.opendkim.serviceConfig.UMask = lib.mkForce "0007";
|
||||
|
||||
services.pomerium = {
|
||||
settings = {
|
||||
|
|
Loading…
Reference in a new issue