3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #204297 from bjornfor/nixos-fix-lxd-init

nixos/lxd: add missing util-linux to $PATH
This commit is contained in:
Mario Rodas 2022-12-04 15:02:59 -05:00 committed by GitHub
commit 4eebb34855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";