Remove mDNS
This commit is contained in:
parent
e288bd899e
commit
cbd88cadc5
1 changed files with 1 additions and 20 deletions
21
base.nix
21
base.nix
|
@ -161,28 +161,9 @@
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
# Easiest to use and most distros use this by default.
|
# Easiest to use and most distros use this by default.
|
||||||
networkmanager = {
|
networkmanager.enable = true;
|
||||||
enable = true;
|
|
||||||
connectionConfig."connection.mdns" = "yes";
|
|
||||||
};
|
|
||||||
tempAddresses = "disabled";
|
tempAddresses = "disabled";
|
||||||
};
|
};
|
||||||
# Config for Avahi mDNS service
|
|
||||||
services.avahi = {
|
|
||||||
enable = true;
|
|
||||||
wideArea = false;
|
|
||||||
ipv6 = true;
|
|
||||||
domainName = "vsinerva.fi";
|
|
||||||
browseDomains = [ "vsinerva.fi" ];
|
|
||||||
nssmdns4 = true;
|
|
||||||
nssmdns6 = true;
|
|
||||||
openFirewall = true;
|
|
||||||
publish = {
|
|
||||||
enable = true;
|
|
||||||
addresses = true;
|
|
||||||
domain = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
users.mutableUsers = false; # Force all user management to happen throught nix-files
|
users.mutableUsers = false; # Force all user management to happen throught nix-files
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue