From 24e45e308d577be2ecff3d305282d8bf05607598 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Wed, 3 Mar 2021 01:16:41 +0100 Subject: [PATCH] nixos/lxd: fixup of 4adcb006 --- nixos/modules/virtualisation/lxd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/lxd.nix b/nixos/modules/virtualisation/lxd.nix index d686cb503d86..96e8d68ae50e 100644 --- a/nixos/modules/virtualisation/lxd.nix +++ b/nixos/modules/virtualisation/lxd.nix @@ -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"