mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
services/mail: SPF TXT record
This commit is contained in:
parent
bf215c4cc1
commit
2ee5f99fb3
2 changed files with 12 additions and 4 deletions
|
|
@ -131,10 +131,10 @@
|
|||
"homepage": null,
|
||||
"owner": "arcnmx",
|
||||
"repo": "tf-nix",
|
||||
"rev": "217a0d1c61da95d0cb91c9f52138743d0dfc6e4e",
|
||||
"sha256": "0fr740nj0c3sldl5f7abrdxlfpr2iz15ghpafmhhrrgvbyh24aq4",
|
||||
"rev": "3b875e43623265965c111d701b3224f5cc11952b",
|
||||
"sha256": "0xwk56g848c3mc6g4wz8m7dv7bk6z6b1ajck2ddf4ghnllylc87p",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/arcnmx/tf-nix/archive/217a0d1c61da95d0cb91c9f52138743d0dfc6e4e.tar.gz",
|
||||
"url": "https://github.com/arcnmx/tf-nix/archive/3b875e43623265965c111d701b3224f5cc11952b.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
{ config, pkgs, witch, sources, ... }:
|
||||
{ config, lib, pkgs, witch, sources, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
imports = [ sources.nixos-mailserver.outPath ];
|
||||
|
|
@ -12,6 +14,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
deploy.tf.dns.records.kittywitch_spf = {
|
||||
tld = "kittywit.ch.";
|
||||
domain = "@";
|
||||
txt.value = "v=spf1 ip4:168.119.126.111 ip6:${(head config.networking.interfaces.enp1s0.ipv6.addresses).address} -all";
|
||||
};
|
||||
|
||||
mailserver = {
|
||||
enable = true;
|
||||
fqdn = "athame.kittywit.ch";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue