nixos/lvm2-activation-generator: fix warnings on activation
This commit is contained in:
parent
9fa62187fe
commit
8ac3a1503a
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ in {
|
|||
};
|
||||
|
||||
config = mkMerge [
|
||||
({
|
||||
# minimal configuration file to make lvmconfig/lvm2-activation-generator happy
|
||||
environment.etc."lvm/lvm.conf".text = "config {}";
|
||||
})
|
||||
(mkIf (!config.boot.isContainer) {
|
||||
systemd.tmpfiles.packages = [ cfg.package.out ];
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
|
|
Loading…
Reference in a new issue