mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Network] Reformat
This commit is contained in:
parent
522d19bf5b
commit
9615339fb2
1 changed files with 5 additions and 3 deletions
|
|
@ -32,9 +32,11 @@ in
|
|||
networking.dhcpcd.enable = (cfg.backend == "dhcpcd");
|
||||
|
||||
|
||||
services.resolved.enable = (cfg.dns == "systemd-resolved");
|
||||
services.resolved.llmnr = mkForce "false"; # https://www.blackhillsinfosec.com/how-to-disable-llmnr-why-you-want-to/
|
||||
services.resolved.dnssec = "false"; # Causes issues with masquerading DNS
|
||||
services.resolved = {
|
||||
enable = (cfg.dns == "systemd-resolved");
|
||||
llmnr = mkForce "false"; # https://www.blackhillsinfosec.com/how-to-disable-llmnr-why-you-want-to/
|
||||
dnssec = "false"; # Causes issues with masquerading DNS
|
||||
};
|
||||
|
||||
services.unbound.enable = (cfg.dns == "unbound");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue