2014-04-15 22:43:39 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
2006-12-24 01:07:28 +00:00
|
|
|
|
2009-03-06 12:27:28 +00:00
|
|
|
{
|
2006-12-24 01:07:28 +00:00
|
|
|
|
2009-10-12 17:36:19 +01:00
|
|
|
###### implementation
|
2009-03-06 12:27:28 +00:00
|
|
|
|
2014-04-15 22:43:39 +01:00
|
|
|
config = mkIf (!config.boot.isContainer) {
|
2009-03-06 12:27:28 +00:00
|
|
|
|
2010-01-07 16:14:50 +00:00
|
|
|
environment.systemPackages = [ pkgs.lvm2 ];
|
2010-01-07 15:55:05 +00:00
|
|
|
|
2010-01-07 22:39:35 +00:00
|
|
|
services.udev.packages = [ pkgs.lvm2 ];
|
|
|
|
|
2009-03-06 12:27:28 +00:00
|
|
|
};
|
2011-09-14 19:20:50 +01:00
|
|
|
|
2006-12-24 01:07:28 +00:00
|
|
|
}
|