ops/nixos: disable LLMNR

This commit is contained in:
Luke Granger-Brown 2022-01-01 00:41:37 +00:00
parent 297e9c97e7
commit e182171916
2 changed files with 1 additions and 2 deletions

View file

@ -11,7 +11,6 @@ in
my.home-manager.imports = lib.mkAfter [ ./home-manager/client.nix ];
programs.ssh.startAgent = true;
nix.gc.automatic = false;
services.resolved.llmnr = "true";
networking.networkmanager.extraConfig = lib.mkAfter ''
[connection]
# Enable mDNS resolver/responder by default unless otherwise configured.

View file

@ -65,7 +65,7 @@ in
];
services.resolved = {
enable = true;
llmnr = lib.mkDefault "false"; # Re-enabled in client.
llmnr = "false"; # LLMNR breaks search domains.
domains = config.networking.search;
fallbackDns = [
"8.8.8.8"