mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
Added mdadm config to repo
This commit is contained in:
parent
9869a42654
commit
70456f565e
4 changed files with 12 additions and 0 deletions
|
@ -26,4 +26,10 @@
|
||||||
efiSysMountPoint = "/boot/efi";
|
efiSysMountPoint = "/boot/efi";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.initrd.services.swraid.mdadmConf = builtins.readFile ./rsrcs/mdadm.conf;
|
||||||
|
|
||||||
|
environment.etc."mdadm.conf".text = ''
|
||||||
|
MAILADDR root
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,11 @@
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/Aurora" =
|
||||||
|
{ device = "/dev/disk/by-uuid/9e84f746-f128-4682-896b-0857e77182fd";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-uuid/e45edaf8-78f9-4a67-a2ec-97d45a3c7311"; }
|
[ { device = "/dev/disk/by-uuid/e45edaf8-78f9-4a67-a2ec-97d45a3c7311"; }
|
||||||
];
|
];
|
||||||
|
|
1
hosts/Alaska/rsrcs/mdadm.conf
Normal file
1
hosts/Alaska/rsrcs/mdadm.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ARRAY /dev/md0 metadata=1.2 name=Alaska:0 UUID=6a6687db:bd6ec4e7:df3986ce:4530c7c1
|
Loading…
Reference in a new issue