Apparmor and Nixos Containers

Has anyone successfully used AppArmor with Nixos containers?

I’ve found a few clues that suggest it can work, such as:

https://lists.freedesktop.org/archives/systemd-devel/2018-April/040638.html

works with docker:

I will add to this thread as I learn and try more, thanks for any ideas out there.

I’m pretty sure GitHub - vpsfreecz/vpsadminos: Host for Linux system containers based on NixOS, ZFS and LXC uses it a lot