Update configuration.nix

This commit is contained in:
Aaron Honeycutt 2024-11-04 18:29:52 +00:00
parent 08f8d118fb
commit c337b63c97

View file

@ -15,14 +15,16 @@
boot.kernelParams = [ "console=tty0" ]; boot.kernelParams = [ "console=tty0" ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
# You can find the swraid ARRAY information with this command
# sudo mdadm --detail --scan >> mdadm.conf
# Now just copy that information into the line
# The MAILADDR is to fix a warning for swraid
boot.swraid = { boot.swraid = {
enable = true; enable = true;
mdadmConf = '' mdadmConf = ''
# You can find that ARRAY information with this command
# sudo mdadm --detail --scan >> mdadm.conf
# Now just copy that information into the line
ARRAY /dev/md/edi:DATA metadata=1.2 UUID=f0384881:84c12f70:3dcad802:653ccc30 ARRAY /dev/md/edi:DATA metadata=1.2 UUID=f0384881:84c12f70:3dcad802:653ccc30
# This is to make an error disappear
MAILADDR root MAILADDR root
''; '';
}; };