diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-12-04 15:02:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 15:02:59 -0500 |
commit | 4eebb348553be4622435ccb40da66c3139e7a9d1 (patch) | |
tree | a220e35f6c241f79706824da914c3ae4663972c8 /nixos | |
parent | ca2cc36c68eb27a20e397743ea0729cf7d4ac9a2 (diff) | |
parent | c3cfa83884d861f249984a2d59dbff458cb381b8 (diff) |
Merge pull request #204297 from bjornfor/nixos-fix-lxd-init
nixos/lxd: add missing util-linux to $PATH
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/virtualisation/lxd.nix | 3 |
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"; |