chore: apply nix fmt

This commit is contained in:
Rustam Efimov 2026-04-01 09:54:15 +03:00
parent caa6948199
commit e2bd4444d2
No known key found for this signature in database
47 changed files with 274 additions and 187 deletions

View file

@ -1,2 +1,2 @@
{
}
}

View file

@ -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 = [
{