chore: apply nix fmt
This commit is contained in:
parent
caa6948199
commit
e2bd4444d2
47 changed files with 274 additions and 187 deletions
|
|
@ -1,2 +1,2 @@
|
|||
{
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
{dns, ...}: let
|
||||
{ dns, ... }:
|
||||
let
|
||||
domain = "ruject.fun";
|
||||
database = {
|
||||
host = "127.0.0.1";
|
||||
port = 5432;
|
||||
};
|
||||
ipv4 = "94.156.112.0";
|
||||
in {
|
||||
in
|
||||
{
|
||||
services.nginx.enable = true;
|
||||
machine = {
|
||||
gateway = "10.0.0.1";
|
||||
|
|
@ -29,7 +31,7 @@ in {
|
|||
"ns2"
|
||||
];
|
||||
|
||||
A = [ipv4];
|
||||
A = [ ipv4 ];
|
||||
|
||||
subdomains = rec {
|
||||
ns1 = host ipv4 null;
|
||||
|
|
@ -52,10 +54,10 @@ in {
|
|||
};
|
||||
|
||||
TXT = [
|
||||
(with spf; strict ["a:mail.ruject.fun"])
|
||||
(with spf; strict [ "a:mail.ruject.fun" ])
|
||||
];
|
||||
|
||||
MX = with mx; [(mx 10 "mail.ruject.fun.")];
|
||||
MX = with mx; [ (mx 10 "mail.ruject.fun.") ];
|
||||
|
||||
DMARC = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue