Don't enable LVM2 in containers

It's a somewhat pointless dependency.
This commit is contained in:
Eelco Dolstra 2014-04-15 23:43:39 +02:00
parent 07cb7451d9
commit e8eea659a0

View File

@ -1,10 +1,12 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
with lib;
{
###### implementation
config = {
config = mkIf (!config.boot.isContainer) {
environment.systemPackages = [ pkgs.lvm2 ];