Seems like a big checklist to go over. But generally speaking almost all of those points should be passing if your configuration.nix specifies it according to the document.
@eeva, by default, no. But you have a much better chance to reproduce passing the benchmark and distributing it with NixOS. I would be interesting to have it as a module and provide some additional assurances.
I have this on my todo list for ~2 years by now
I might not find the time to help considerable in the near future but I will at least find the time for a quick review if that helps.
Well, I did some preliminary work yes, but I won’t be continuing this until this summer for several reasons:
NixOS already has AppArmor support
SELinux support is being worked on (or at least there are plans to add it to NixOS)
The benchmark is a moving target, I got a XML document with the tests that I could adapt manually, but that’s wasted work if this needs to be (re)done every 2-3 months. It’s better to come up with a program that can read the tests and run them straight. It might not be legal.
So in short, priority for this has decreased while complexity increased. I’ll explore this once again during the summer (I may have less priority work to do).