To configure AppArmor properly, please refer to the Void Linux Handbook https://docs.voidlinux.org/config/security/apparmor.html