1 import ./make-test-python.nix ({ pkgs, ... }:
5 meta.maintainers = with pkgs.lib.maintainers; [ izorkin ];
8 client_wsdd = { pkgs, ... }: {
9 services.samba-wsdd = {
13 workgroup = "WORKGROUP";
14 hostname = "CLIENT-WSDD";
16 extraOptions = [ "--no-host" ];
20 server_wsdd = { ... }: {
21 services.samba-wsdd = {
25 workgroup = "WORKGROUP";
26 hostname = "SERVER-WSDD";
33 client_wsdd.wait_for_unit("samba-wsdd")
36 server_wsdd.wait_for_unit("samba-wsdd")
38 client_wsdd.wait_until_succeeds(
39 "echo list | ${pkgs.libressl.nc}/bin/nc -N -U /run/wsdd/wsdd.sock | grep -i SERVER-WSDD"