mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
7484774172
Upstart jobs unnecessary. * Support having the root filesystem on swraid. svn path=/nixos/trunk/; revision=21807
12 lines
205 B
Nix
12 lines
205 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
environment.systemPackages = [ pkgs.mdadm ];
|
|
|
|
services.udev.packages = [ pkgs.mdadm ];
|
|
|
|
boot.initrd.availableKernelModules = [ "md_mod" "raid0" "raid1" "raid456" ];
|
|
|
|
}
|