diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2023-11-05 16:01:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-05 16:01:20 +0100 |
commit | 35128eb6f81381da2a38094d6b3976c61d792489 (patch) | |
tree | 2045acfe89840fe177de0bae5edd1b008f047342 /nixos/tests | |
parent | 315e3635bf17229eb5f8da66c755de83960f0e36 (diff) | |
download | nixpkgs-35128eb6f81381da2a38094d6b3976c61d792489.tar nixpkgs-35128eb6f81381da2a38094d6b3976c61d792489.tar.gz nixpkgs-35128eb6f81381da2a38094d6b3976c61d792489.tar.bz2 nixpkgs-35128eb6f81381da2a38094d6b3976c61d792489.tar.lz nixpkgs-35128eb6f81381da2a38094d6b3976c61d792489.tar.xz nixpkgs-35128eb6f81381da2a38094d6b3976c61d792489.tar.zst nixpkgs-35128eb6f81381da2a38094d6b3976c61d792489.zip |
nixos/printing: Add openFirewall option (#176539)
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/printing.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix index 7df042e72e9..29c5d810f21 100644 --- a/nixos/tests/printing.nix +++ b/nixos/tests/printing.nix @@ -19,6 +19,7 @@ import ./make-test-python.nix ( startWhenNeeded = socket; listenAddresses = [ "*:631" ]; defaultShared = true; + openFirewall = true; extraConf = '' <Location /> Order allow,deny @@ -26,7 +27,6 @@ import ./make-test-python.nix ( </Location> ''; }; - networking.firewall.allowedTCPPorts = [ 631 ]; # Add a HP Deskjet printer connected via USB to the server. hardware.printers.ensurePrinters = [{ name = "DeskjetLocal"; |