summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2021-03-03 01:16:41 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2021-03-03 01:16:41 +0100
commit24e45e308d577be2ecff3d305282d8bf05607598 (patch)
tree2e6be6b164e221ca9fdf65491556d88885f8aacd /nixos
parent58927de44985bc0c1cea168e68c403fad2de91d6 (diff)
nixos/lxd: fixup of 4adcb006
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/lxd.nix2
1 files changed, 1 insertions, 1 deletions
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"