mirror of
https://github.com/ivabus/nixos
synced 2024-11-14 04:25:07 +03:00
Add IPs to timeServers and remove DoT
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
bae66afecb
commit
5695e7b0a5
1 changed files with 2 additions and 13 deletions
|
@ -6,18 +6,7 @@
|
||||||
networking.useNetworkd = lib.mkDefault true;
|
networking.useNetworkd = lib.mkDefault true;
|
||||||
systemd.network.wait-online.enable = lib.mkDefault false;
|
systemd.network.wait-online.enable = lib.mkDefault false;
|
||||||
|
|
||||||
# Use systemd-resolved for DoT support.
|
networking.nameservers = [ "1.1.1.1" "1.0.0.1" "8.8.8.8" ];
|
||||||
services.resolved = {
|
|
||||||
enable = true;
|
|
||||||
dnssec = "false";
|
|
||||||
extraConfig = ''
|
|
||||||
DNSOverTLS=yes
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Used by systemd-resolved, not directly by resolv.conf.
|
|
||||||
networking.nameservers =
|
|
||||||
[ "1.0.0.1#cloudflare-dns.com" "8.8.8.8#dns.google" ];
|
|
||||||
|
|
||||||
networking.enableIPv6 = true;
|
networking.enableIPv6 = true;
|
||||||
|
|
||||||
|
@ -34,7 +23,7 @@
|
||||||
|
|
||||||
services.chrony.enable = true;
|
services.chrony.enable = true;
|
||||||
networking.timeServers =
|
networking.timeServers =
|
||||||
[ "ntp1.vniiftri.ru" "0.ru.pool.ntp.org" "0.pool.ntp.org" ];
|
[ "89.109.251.21" "89.109.251.22" "ntp1.vniiftri.ru" "0.ru.pool.ntp.org" "0.pool.ntp.org" ];
|
||||||
|
|
||||||
# Useful tools
|
# Useful tools
|
||||||
boot.kernelModules = [ "af_packet" ];
|
boot.kernelModules = [ "af_packet" ];
|
||||||
|
|
Loading…
Reference in a new issue