mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
parent
40c586b7ce
commit
75e96d2c30
@ -5,18 +5,21 @@ import ./make-test.nix ({ pkgs, ... } : {
|
|||||||
maintainers = [ eelco chaoflow ];
|
maintainers = [ eelco chaoflow ];
|
||||||
};
|
};
|
||||||
|
|
||||||
nodes = {
|
nodes = let
|
||||||
one =
|
cfg = { config, pkgs, ... }: {
|
||||||
{ config, pkgs, ... }: {
|
services.avahi = {
|
||||||
services.avahi.enable = true;
|
enable = true;
|
||||||
services.avahi.nssmdns = true;
|
nssmdns = true;
|
||||||
|
publish.addresses = true;
|
||||||
|
publish.domain = true;
|
||||||
|
publish.enable = true;
|
||||||
|
publish.userServices = true;
|
||||||
|
publish.workstation = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
two =
|
|
||||||
{ config, pkgs, ... }: {
|
|
||||||
services.avahi.enable = true;
|
|
||||||
services.avahi.nssmdns = true;
|
|
||||||
};
|
};
|
||||||
|
in {
|
||||||
|
one = cfg;
|
||||||
|
two = cfg;
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript =
|
testScript =
|
||||||
|
Loading…
Reference in New Issue
Block a user