Add mdns to networkmanager
This commit is contained in:
parent
697e193353
commit
56da9efcd1
1 changed files with 8 additions and 2 deletions
10
base.nix
10
base.nix
|
@ -159,8 +159,14 @@
|
||||||
######################################## Misc. ##################################################
|
######################################## Misc. ##################################################
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
networking = {
|
||||||
networking.tempAddresses = "disabled";
|
# Easiest to use and most distros use this by default.
|
||||||
|
networkmanager = {
|
||||||
|
enable = true;
|
||||||
|
connectionConfig."connection.mdns" = "yes";
|
||||||
|
};
|
||||||
|
tempAddresses = "disabled";
|
||||||
|
};
|
||||||
services.resolved.enable = true;
|
services.resolved.enable = 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