19 lines
574 B
Nix
19 lines
574 B
Nix
{ config, lib, ... }: with lib; {
|
|
networking = {
|
|
domain = mkDefault "kyouma.net";
|
|
nftables.enable = mkDefault true;
|
|
firewall.logRefusedConnections = mkDefault false;
|
|
};
|
|
|
|
systemd.network.enable = true;
|
|
networking.dhcpcd.enable = false;
|
|
|
|
services.resolved = {
|
|
enable = true;
|
|
dnssec = "true";
|
|
extraConfig = ''
|
|
DNS = [2a05:f480:1800:d2e::1]:853#resolve.solitary.social 80.240.30.163:853#resolve.solitary.social [2a01:4f8:1c0c:6c89::1]:853#resolve.nyantec.com 116.203.220.161:853#resolve.nyantec.com
|
|
DNSOverTLS = true
|
|
'';
|
|
};
|
|
}
|