From 75e96d2c30cf0a138e98d5611aa80465d92d9e43 Mon Sep 17 00:00:00 2001 From: Joel Moberg Date: Sun, 28 Feb 2016 16:03:47 +0100 Subject: [PATCH] avahi: fix test Reflects module changes made by cdd7310a503481e3c40266be45b6b8256d95ecbd --- nixos/tests/avahi.nix | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/nixos/tests/avahi.nix b/nixos/tests/avahi.nix index a8369a6d1f88..976a770e887c 100644 --- a/nixos/tests/avahi.nix +++ b/nixos/tests/avahi.nix @@ -5,18 +5,21 @@ import ./make-test.nix ({ pkgs, ... } : { maintainers = [ eelco chaoflow ]; }; - nodes = { - one = - { config, pkgs, ... }: { - services.avahi.enable = true; - services.avahi.nssmdns = true; - }; - - two = - { config, pkgs, ... }: { - services.avahi.enable = true; - services.avahi.nssmdns = true; + nodes = let + cfg = { config, pkgs, ... }: { + services.avahi = { + enable = true; + nssmdns = true; + publish.addresses = true; + publish.domain = true; + publish.enable = true; + publish.userServices = true; + publish.workstation = true; }; + }; + in { + one = cfg; + two = cfg; }; testScript =