-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/printing: Add openFirewall option #176539
Conversation
6bbfcf1
to
0b3a11c
Compare
The problem I see here is that when changing listenAddress to use another port, openFirewall opens up the wrong network port, correct? |
d3c0245
to
bb39788
Compare
@Ma27 @klemensn Updated the pull request. It now parses the ports in Tested it with
|
I no longer use this code, so can't test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description of changes
Add
option to open TCP ports specified in
printing.listenAdddresses
required for network printer sharing.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes