Has anyone gotten AppArmor working?

I have never gotten around to AppArmor et al in the past because it seemed like too much work for a system that won’t last forever.
With NixOS, however, I’m motivated to do things right the first time since I’ll be able to reuse my work later on.

Has anyone been able to get AppArmor working? If so, would anyone be willing to share at least a snippet of their config, a link to docs for using it on NixOS, or tips for getting started?

Thank you