Merge pull request #114925 from rnhmjoj/lxd-fixup

nixos/lxd: fixup of 4adcb006
This commit is contained in:
Martin Weinelt 2021-03-03 01:39:24 +01:00 committed by GitHub
commit 1d025d327c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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