Merge #93838: nixos/tasks/lvm: fix systemd tmpfiles

This commit is contained in:
Vladimír Čunát 2020-07-25 22:55:51 +02:00
commit 499ae67142
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -22,7 +22,7 @@ in {
config = mkMerge [
(mkIf (!config.boot.isContainer) {
environment.etc."tmpfiles.d/lvm2.conf".source = "${cfg.package}/lib/tmpfiles.d/lvm2.conf";
systemd.tmpfiles.packages = [ cfg.package.out ];
environment.systemPackages = [ cfg.package ];
systemd.packages = [ cfg.package ];