add raid support
This commit is contained in:
parent
f7ce6c7eb8
commit
3d066f8f38
1 changed files with 3 additions and 1 deletions
|
|
@ -25,6 +25,8 @@ in
|
||||||
# systemd-boot.enable = true;
|
# systemd-boot.enable = true;
|
||||||
loader.efi.canTouchEfiVariables = true;
|
loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
swraid.enable = true;
|
||||||
|
|
||||||
kernelParams = [ "ip=${static_ip}::${gateway}:255.255.255.0:${hostName}:" ];
|
kernelParams = [ "ip=${static_ip}::${gateway}:255.255.255.0:${hostName}:" ];
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = [ "igb" ];
|
availableKernelModules = [ "igb" ];
|
||||||
|
|
@ -101,7 +103,7 @@ in
|
||||||
wget
|
wget
|
||||||
git
|
git
|
||||||
|
|
||||||
mdadm
|
# mdadm # shouldn't be needed with boot.swraid.enable = true
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue