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