Don't enable LVM2 in containers
It's a somewhat pointless dependency.
This commit is contained in:
parent
07cb7451d9
commit
e8eea659a0
@ -1,10 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
|
||||
###### implementation
|
||||
|
||||
config = {
|
||||
config = mkIf (!config.boot.isContainer) {
|
||||
|
||||
environment.systemPackages = [ pkgs.lvm2 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user