mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
add DNS
This commit is contained in:
parent
ea13fba924
commit
39f19085e5
@ -44,6 +44,7 @@ in
|
|||||||
#../../modules/android.nix
|
#../../modules/android.nix
|
||||||
#../../modules/podman.nix
|
#../../modules/podman.nix
|
||||||
#../../modules/docker.nix
|
#../../modules/docker.nix
|
||||||
|
../../modules/dns.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "yodaTab";
|
networking.hostName = "yodaTab";
|
||||||
|
@ -44,6 +44,7 @@ in
|
|||||||
../../modules/android.nix
|
../../modules/android.nix
|
||||||
#../../modules/podman.nix
|
#../../modules/podman.nix
|
||||||
../../modules/docker.nix
|
../../modules/docker.nix
|
||||||
|
../../modules/dns.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "yodaTux";
|
networking.hostName = "yodaTux";
|
||||||
|
@ -46,6 +46,7 @@ in
|
|||||||
#../../modules/android.nix
|
#../../modules/android.nix
|
||||||
#../../modules/podman.nix
|
#../../modules/podman.nix
|
||||||
../../modules/docker.nix
|
../../modules/docker.nix
|
||||||
|
../../modules/dns.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "yodaYoga";
|
networking.hostName = "yodaYoga";
|
||||||
|
@ -13,10 +13,6 @@
|
|||||||
# Enables wireless support via wpa_supplicant.
|
# Enables wireless support via wpa_supplicant.
|
||||||
# networking.wireless.enable = true;
|
# networking.wireless.enable = true;
|
||||||
|
|
||||||
# Configure network proxy if necessary.
|
|
||||||
#networking.proxy.default = "http://user:password@proxy:port/";
|
|
||||||
#networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|
||||||
|
|
||||||
# Enable networking.
|
# Enable networking.
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
12
modules/dns.nix
Normal file
12
modules/dns.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
networking.nameservers = [
|
||||||
|
# https://www.kuketz-blog.de/empfehlungsecke/#dns
|
||||||
|
# dot.ffmuc.net (unterstützt DNSSEC)
|
||||||
|
"5.1.66.255" "185.150.99.255"
|
||||||
|
# https://www.kuketz-blog.de/empfehlungsecke/#dns
|
||||||
|
# unfiltered.adguard-dns.com (unterstützt DNSSEC)
|
||||||
|
"94.140.14.140" "94.140.14.141"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user