-
-
Notifications
You must be signed in to change notification settings - Fork 94
Feature request: support for nixos-firewall-tool #553
Copy link
Copy link
Open
Labels
backlogThis might be implemented at a future date. No focus yet.This might be implemented at a future date. No focus yet.feature requestRequest a feature from the developers.Request a feature from the developers.needs discussionFurther discussion is needed. No action until discussion is finalized.Further discussion is needed. No action until discussion is finalized.
Metadata
Metadata
Assignees
Labels
backlogThis might be implemented at a future date. No focus yet.This might be implemented at a future date. No focus yet.feature requestRequest a feature from the developers.Request a feature from the developers.needs discussionFurther discussion is needed. No action until discussion is finalized.Further discussion is needed. No action until discussion is finalized.
Firstly, thanks for the amazing tool — I really like nh and it helps me every day.
I'd like to suggest adding integration with
nixos-firewall-tools, for example via commands likenh firewallornh os firewall.The main reason is that I use nh as a replacement for most of the "legacy" NixOS commands, such as
nixos-rebuild,nixos-build-vms, and others. It fits very well into my workflow.However, when I need to manage the firewall imperatively (for example, to open a port temporarily and close it later), I still have to use
nixos-firewall-tools, which breaks the workflow a bit.Most of the time, when I need to manage the firewall, this happens:
nhout of muscle memoryWith nh, this is already handled automatically, so having firewall support there would be really convenient.
Related to this, integrating
nixos-optionscould also be very useful, for example via something likenh optionsornh os options, so we don't have to specify the flake for thenixos-optionscommand.Let me know what you think — I'd be happy to help if needed. I'm not a rust developer, but I know a bit of the ecosystem.