about summary refs log tree commit diff
path: root/nixos/modules/virtualisation/lxd.nix
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-12-04 22:06:42 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-12-04 22:06:42 +0100
commitfe8eef1ae448bf3631c9e5be919c8456da35a006 (patch)
tree6a17c6d6d327504716b74f247362092c35d6e1cb /nixos/modules/virtualisation/lxd.nix
parent21835cba160d694e75d8ce7cac56b267b36aeb3d (diff)
parentc94cdd0978d707c08ffdfba54e682a8b553263e1 (diff)
Merge remote-tracking branch 'origin/master' into staging-next
Diffstat (limited to 'nixos/modules/virtualisation/lxd.nix')
-rw-r--r--nixos/modules/virtualisation/lxd.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/lxd.nix b/nixos/modules/virtualisation/lxd.nix
index e3eb519b7dddf..c06716e5eb605 100644
--- a/nixos/modules/virtualisation/lxd.nix
+++ b/nixos/modules/virtualisation/lxd.nix
@@ -140,7 +140,8 @@ in {
       ];
       documentation = [ "man:lxd(1)" ];
 
-      path = optional cfg.zfsSupport config.boot.zfs.package;
+      path = [ pkgs.util-linux ]
+        ++ optional cfg.zfsSupport config.boot.zfs.package;
 
       serviceConfig = {
         ExecStart = "@${cfg.package}/bin/lxd lxd --group lxd";