nixos/lxd: fixup of 4adcb006

This commit is contained in:
rnhmjoj 2021-03-03 01:16:41 +01:00
parent 58927de449
commit 24e45e308d
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450

View File

@ -97,7 +97,7 @@ in {
# does a bunch of unrelated things.
systemd.tmpfiles.rules = [ "d /var/lib/lxc/rootfs 0755 root root -" ];
security.apparmor.packages = [ pkgs.lxcPackage ];
security.apparmor.packages = [ cfg.lxcPackage ];
security.apparmor.profiles = [
"${cfg.lxcPackage}/etc/apparmor.d/lxc-containers"
"${cfg.lxcPackage}/etc/apparmor.d/usr.bin.lxc-start"