this post was submitted on 01 Dec 2026
31 points (100.0% liked)

Linux

68974 readers
641 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
31
Considering nix (sh.itjust.works)
submitted 1 day ago* (last edited 1 day ago) by muusemuuse@sh.itjust.works to c/linux@lemmy.ml
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] hendrik@palaver.p3x.de 4 points 1 day ago (1 children)

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.

[–] muusemuuse@sh.itjust.works 3 points 1 day ago (1 children)

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

[–] hendrik@palaver.p3x.de 2 points 1 day ago (1 children)

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?!

[–] muusemuuse@sh.itjust.works 3 points 23 hours ago (1 children)

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.

[–] hendrik@palaver.p3x.de 3 points 21 hours ago* (last edited 21 hours ago)

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.