feat: mdns name resolution

nextcloud
LeRoyce Pearson 2023-12-29 19:50:55 -07:00
parent f084a7f093
commit d7172a69ed
1 changed files with 4 additions and 2 deletions

View File

@ -160,8 +160,10 @@
# Blocky DNS
53
];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# Use systemd-resolved and set networkmanager to allow mdns
services.resolved.enable = true;
networking.networkmanager.connectionConfig."connection.mdns" = 2; # 2 == yes
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you