Merge pull request #13548 from joelmo/nixos-unstable

avahi: fix test
This commit is contained in:
joachifm 2016-03-02 20:55:42 +00:00
commit 4fa37759be

View file

@ -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 =