forked from emily/nixfiles
19 lines
557 B
Nix
19 lines
557 B
Nix
{ lib, ... }: with lib; {
|
|
networking = {
|
|
domain = mkDefault "kyouma.net";
|
|
dhcpcd.enable = false;
|
|
nftables.enable = mkDefault true;
|
|
firewall.logRefusedConnections = mkDefault false;
|
|
};
|
|
|
|
systemd.network.enable = true;
|
|
|
|
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
|
|
'';
|
|
};
|
|
}
|