Move all of NixOS to nixos/ in preparation of the repository merge
This commit is contained in:
11
nixos/modules/tasks/swraid.nix
Normal file
11
nixos/modules/tasks/swraid.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
environment.systemPackages = [ pkgs.mdadm ];
|
||||
|
||||
services.udev.packages = [ pkgs.mdadm ];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "md_mod" "raid0" "raid1" "raid456" ];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user