2024-06-12 15:00:55 +02:00
|
|
|
{ lib, ... }: with lib; {
|
2023-11-28 08:19:49 +01:00
|
|
|
networking = {
|
2024-01-18 16:03:31 +01:00
|
|
|
domain = mkDefault "kyouma.net";
|
2024-06-12 15:00:55 +02:00
|
|
|
dhcpcd.enable = false;
|
2024-01-18 16:03:31 +01:00
|
|
|
nftables.enable = mkDefault true;
|
|
|
|
firewall.logRefusedConnections = mkDefault false;
|
2023-11-28 08:19:49 +01:00
|
|
|
};
|
2024-01-18 16:03:31 +01:00
|
|
|
|
2023-11-28 08:19:49 +01:00
|
|
|
systemd.network.enable = true;
|
|
|
|
|
|
|
|
services.resolved = {
|
|
|
|
enable = true;
|
|
|
|
dnssec = "true";
|
2024-02-22 20:20:07 +01:00
|
|
|
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
|
|
|
|
'';
|
2023-11-28 08:19:49 +01:00
|
|
|
};
|
|
|
|
}
|