Add resolved configuration for DNS
This commit is contained in:
parent
610c43dbca
commit
c13077f287
2 changed files with 12 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
./fstrim.nix
|
||||
./fwupd.nix
|
||||
./remote-deploy.nix
|
||||
./resolved.nix
|
||||
./tailscale.nix
|
||||
./zerotier.nix
|
||||
];
|
||||
|
|
|
|||
11
modules/nixos/basics/resolved.nix
Normal file
11
modules/nixos/basics/resolved.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
dnssec = "true";
|
||||
# dnsovertls = "true";
|
||||
fallbackDns = [
|
||||
"1.1.1.1"
|
||||
"8.8.8.8"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue