diff options
Diffstat (limited to 'modules/core/networking/default.nix')
| -rw-r--r-- | modules/core/networking/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/core/networking/default.nix b/modules/core/networking/default.nix new file mode 100644 index 0000000..5e53759 --- /dev/null +++ b/modules/core/networking/default.nix @@ -0,0 +1,22 @@ +{ secrets, ... }: +{ + imports = [ ./tailscale.nix ]; + + networking = { + nftables.enable = true; + + nameservers = [ + "45.90.28.0#${secrets.nextdns_id}.dns.nextdns.io" + "2a07:a8c0::#${secrets.nextdns_id}.dns.nextdns.io" + "45.90.30.0#${secrets.nextdns_id}.dns.nextdns.io" + "2a07:a8c1::#${secrets.nextdns_id}.dns.nextdns.io" + ]; + + timeServers = [ + "0.nixos.pool.ntp.org" + "1.nixos.pool.ntp.org" + "2.nixos.pool.ntp.org" + "3.nixos.pool.ntp.org" + ]; + }; +} |