diff options
author | Varun Madiath <madiath@amazon.com> | 2023-07-13 14:06:44 -0400 |
---|---|---|
committer | Varun Madiath <madiath@amazon.com> | 2023-07-17 10:22:43 -0400 |
commit | d237a7318c3613b55469e80ae2c0d7ded901fca2 (patch) | |
tree | 286fc93568b7aaa2c53f7268a961f1aa7e638464 /nixos/tests/samba-wsdd.nix | |
parent | 2de8efefb6ce7f5e4e75bdf57376a96555986841 (diff) |
nixos/samba-wsdd: add openFirewall option
Diffstat (limited to 'nixos/tests/samba-wsdd.nix')
-rw-r--r-- | nixos/tests/samba-wsdd.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nixos/tests/samba-wsdd.nix b/nixos/tests/samba-wsdd.nix index 0e3185b0c6849..666a626d1b4a5 100644 --- a/nixos/tests/samba-wsdd.nix +++ b/nixos/tests/samba-wsdd.nix @@ -8,25 +8,23 @@ import ./make-test-python.nix ({ pkgs, ... }: client_wsdd = { pkgs, ... }: { services.samba-wsdd = { enable = true; + openFirewall = true; interface = "eth1"; workgroup = "WORKGROUP"; hostname = "CLIENT-WSDD"; discovery = true; extraOptions = [ "--no-host" ]; }; - networking.firewall.allowedTCPPorts = [ 5357 ]; - networking.firewall.allowedUDPPorts = [ 3702 ]; }; server_wsdd = { ... }: { services.samba-wsdd = { enable = true; + openFirewall = true; interface = "eth1"; workgroup = "WORKGROUP"; hostname = "SERVER-WSDD"; }; - networking.firewall.allowedTCPPorts = [ 5357 ]; - networking.firewall.allowedUDPPorts = [ 3702 ]; }; }; |