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_fan
    link
    fedilink
    arrow-up
    2
    ·
    53 minutes ago

    You can use systemd hardening to secure your services. There are also nixos containers, although I haven’t delved into them and can’t tell you much about them. You can also deploy oci containers in various ways (I’d recommend quadlet-nix).

    • muusemuuse@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 minutes ago

      I do have some containers I was going to deploy, though those I’m going to need to crash course rootless vs rootful security vs network complexity and performance, but the general idea of this is I can just leave it alone and if something compromises it, the blast radius will be limited until I notice and catch it on the firewall doing something sus