diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-02-21 06:54:34 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-02-21 07:00:59 +0900 |
commit | a44f6dfe7fe6bac9b98adf7d444294b9571bb702 (patch) | |
tree | 58508698539766cbff8103b8cfd418e3a98314a0 /vpsadminos.nix | |
parent | f8d40ed3c8b56b9d20a58cb95a52703379ec6ee0 (diff) | |
download | nixos-conf-a44f6dfe7fe6bac9b98adf7d444294b9571bb702.tar.gz |
Support OpenNIC
Diffstat (limited to 'vpsadminos.nix')
-rw-r--r-- | vpsadminos.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vpsadminos.nix b/vpsadminos.nix index 0a7189b..9c5a666 100644 --- a/vpsadminos.nix +++ b/vpsadminos.nix @@ -6,9 +6,12 @@ # # https://github.com/vpsfreecz/vpsadminos/blob/staging/os/lib/nixos-container/vpsadminos.nix -{ config, pkgs, lib, ... }: +{ pkgs, lib, ... }: with lib; -let nameservers = [ "9.9.9.9" "2620:fe::fe" ]; +let nameservers = [ + "88.198.92.222" "2a01:4f8:1c0c:82c0::1" # ns1.by.de.dns.opennic.glue + "195.90.211.16" # ns15.de.dns.opennic.glue +]; in { networking.nameservers = mkDefault nameservers; services.resolved = mkDefault { fallbackDns = nameservers; }; |