ops/nixos: disable LLMNR
This commit is contained in:
parent
297e9c97e7
commit
e182171916
2 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@ in
|
||||||
my.home-manager.imports = lib.mkAfter [ ./home-manager/client.nix ];
|
my.home-manager.imports = lib.mkAfter [ ./home-manager/client.nix ];
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
nix.gc.automatic = false;
|
nix.gc.automatic = false;
|
||||||
services.resolved.llmnr = "true";
|
|
||||||
networking.networkmanager.extraConfig = lib.mkAfter ''
|
networking.networkmanager.extraConfig = lib.mkAfter ''
|
||||||
[connection]
|
[connection]
|
||||||
# Enable mDNS resolver/responder by default unless otherwise configured.
|
# Enable mDNS resolver/responder by default unless otherwise configured.
|
||||||
|
|
|
@ -65,7 +65,7 @@ in
|
||||||
];
|
];
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
llmnr = lib.mkDefault "false"; # Re-enabled in client.
|
llmnr = "false"; # LLMNR breaks search domains.
|
||||||
domains = config.networking.search;
|
domains = config.networking.search;
|
||||||
fallbackDns = [
|
fallbackDns = [
|
||||||
"8.8.8.8"
|
"8.8.8.8"
|
||||||
|
|
Loading…
Reference in a new issue