nixos: Add boot.initrd.extraUdevRulesCommands
This commit is contained in:
@@ -8,4 +8,8 @@
|
||||
|
||||
boot.initrd.availableKernelModules = [ "md_mod" "raid0" "raid1" "raid456" ];
|
||||
|
||||
boot.initrd.extraUdevRulesCommands = ''
|
||||
cp -v ${pkgs.mdadm}/lib/udev/rules.d/*.rules $out/
|
||||
'';
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user