avahi: Update to reflect upstream module changes

This commit is contained in:
Erwin Boskma 2023-12-20 11:40:33 +01:00
parent 5c7e7b147d
commit d724cef818
Signed by: erwin
SSH key fingerprint: SHA256:OCinH/khuGY1LA9RG8YLM8GNH6C1DDXBdy3SNE+I5Hw

View file

@ -12,8 +12,6 @@ in
};
config = mkIf cfg.enable {
users.extraUsers.${config.eboskma.var.mainUser}.extraGroups = [ "networkmanager" ];
environment.systemPackages = with pkgs; [
nmap
nmap-formatter
@ -21,11 +19,14 @@ in
services.avahi = {
enable = true;
nssmdns = true;
nssmdns4 = true;
nssmdns6 = config.networking.enableIPv6;
publish = {
enable = true;
domain = true;
hinfo = true;
userServices = true;
workstation = true;
};
};
};