kdePackages.plasma-firewall exists but not supported?

I am using nixos unstable 25.05. I am trying to get plasma-firewall working as it would be nice to change settings on the fly utilizing the kde desktop environment. Its mostly to set per app firewall rules. I cant find any information regarding the plasma-firewall package only that is available in the unstable repo. If anyone has some insight or requires more information on my behalf, please feel free to help. I also tried installing firewalld but that does not work as it is not a service bit a package. Plasma-firewall requests firewalld or ufw.

recently someone announced a firewalld module which might help you

i wasn’t sure if the module was intended to allow imperative management of the firewall as well… you could ping the author in the linked thread and ask - if so, it should work for you

Hi, author of firewalld-nix here.
Firewalld-nix do allow imperative management of FirewallD, but you should only use it for runtime configuration. Permanent configuration should be done in configuration.nix instead.
As for system settings, I did a quick test by adding pkgs.kdePackages.plasma-firewall to environment.systemPackages, then trying to open the panel in system settings.
Yet system settings just crashed, so there certainly is more work to do.

1 Like

In the meantime, you can just use firewalld-nix and configure through firewall-applet.