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?


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.
Sure. What I mainly do is use seperate user accounts for all the services so they can’t access each other’s data. That’s also what Linux distributions do anyway when setting up server software. I try not to give them any extra privileges and use whatever SystemD services offer to restrict stuff. I’ll make database access as strict as possible. Disable unneeded stuff, unnecessary open ports and then focus on having appropriate passwords, fail2ban and timely updates. I run most stuff bare metal and only use containers and VMs if it makes it easier or I feel it’s more risky than usual. I think that’s somewhat alright for a home server setup.