I’m getting ready to rebuild the home server and was going to go back to fedora server, but I’m seeing a lot of interest around NixOS lately and figure this might be a good opportunity to learn about it.
But I’m concerned about security in this system. It seems to have no fully functional SElinux or apparmor layer so any long running services that talk to the internet would be left in a vulnerable state without that fallback layer of protection.
Am I being paranoid here?


NixOS is nice and quite unique compared to something like a Fedora server. Make sure to try it first. There’s a lot to learn and the learning curve is steep. And oftentimes it’s weird quirks and specifics you’d learn. Not some general Linux knowledge.
I think whether someone wants or needs SELinux or Apparmor is a case by case decision. That depends on your threat scenario and what software/services you’re running. I’m not sure if it’s of any help considering the average attack and issues on a home server with services like Nextcloud and Jellyfin running.
Well, I’d like to leave something like I2P, reticulum, or bit torrent running overtime. It’s constantly talking to things on the outside world, so I’m trying to figure out how proactive I need to be about that
Hmmh. I’m just not sure if either SELinux or Apparmor address issues with something like those projects. I mean they’re established open-source projects with a larger userbase and should be somewhat okay?! They shouldn’t call other executables and don’t need elevated privileges to run (and there’s other ways to contain these kinds of issues). And they’re doing all kinds of network connections anyway, so not sure if you can even restrict those networking platforms in any meaningful way?!
There’s a couple ways to do it but I’m not great at container networking and tossing it into a VM with. Seperate physical Ethernet jack is more of a blunt instrument than I wanted. Really it’s more of an exercise to improve my skills than anything else.