News for hackers. Stuff that matters.
Re:OpenSnitch is a GNU/Linux interactive application firewall by stusmall on Saturday August 10, 2024 @05:54PM (#41212514)
This is what finally got me over to NixOS. In the past when I've used application firewalls its a lot of set up that often breaks on updates changing paths or I have to redo it all whenever I move to a new computer. Just tons and tons of churn and wasted effort.

By integrating with the package manager that hasn't been an issue. Once I got through the initial work of setting up my whitelists I just have a little bit of effort each time I add a new package to my nix configs. If I don't want to take on the effort of adding a whitelist to my nix config, I can just add a temporary whitelist that lasts until the next reboot.

It was a steep learning curve and a lot of work, but now its a breeze to maintain.

Re:OpenSnitch is a GNU/Linux interactive application firewall by mubu on Saturday August 10, 2024 @10:27PM (#41213611)
Did you achieve this using the OpenSnitch Nix options over at search.nixos.org/options ?
Re:OpenSnitch is a GNU/Linux interactive application firewall by stusmall on Sunday August 11, 2024 @09:23AM (#41215947)
Yup. My configs can be found here: https://github.com/stusmall/nixos

I tend to put all the random grab bags rules needed for basic functionality in the opensnitch.nix module. If a package needed rules it gets a module and they go in there. Check the signal.nix module for a good example

Re:OpenSnitch is a GNU/Linux interactive application firewall by mubu on Sunday August 11, 2024 @10:14AM (#41216322)
Very nice, thanks!