mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
commit
4fa37759be
1 changed files with 14 additions and 11 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue