2018-07-20 21:56:59 +01:00
|
|
|
{ pkgs, ... }:
|
2009-03-06 12:27:30 +00:00
|
|
|
|
2007-01-11 00:40:28 +00:00
|
|
|
{
|
|
|
|
|
2010-05-16 21:40:04 +01:00
|
|
|
environment.systemPackages = [ pkgs.mdadm ];
|
2011-09-14 19:20:50 +01:00
|
|
|
|
2010-05-16 21:40:04 +01:00
|
|
|
services.udev.packages = [ pkgs.mdadm ];
|
2009-12-29 10:04:54 +00:00
|
|
|
|
2019-07-25 14:36:16 +01:00
|
|
|
systemd.packages = [ pkgs.mdadm ];
|
|
|
|
|
2018-05-28 21:24:22 +01:00
|
|
|
boot.initrd.availableKernelModules = [ "md_mod" "raid0" "raid1" "raid10" "raid456" ];
|
2011-09-14 19:20:50 +01:00
|
|
|
|
2014-11-10 21:08:10 +00:00
|
|
|
boot.initrd.extraUdevRulesCommands = ''
|
|
|
|
cp -v ${pkgs.mdadm}/lib/udev/rules.d/*.rules $out/
|
|
|
|
'';
|
|
|
|
|
2007-01-11 00:40:28 +00:00
|
|
|
}
|