Adding RAID
This commit is contained in:
parent
ff33c189e2
commit
630f7f6d68
2 changed files with 12 additions and 0 deletions
|
|
@ -13,4 +13,9 @@
|
|||
enable = true;
|
||||
# network.enable = true;
|
||||
};
|
||||
|
||||
# RAID
|
||||
boot.swraid.mdadmConf = ''
|
||||
ARRAY /dev/md127 metadata=1.2 UUID=a531d539:bc4263d2:bcc8330f:0d364869
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,13 @@
|
|||
{
|
||||
services.openssh.enable = true;
|
||||
|
||||
boot.swraid = {
|
||||
enable = true;
|
||||
mdadmConf = ''
|
||||
DEVICE partitions
|
||||
'';
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
mdadm
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue