mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
Update configuration.nix
This commit is contained in:
parent
08f8d118fb
commit
c337b63c97
1 changed files with 6 additions and 4 deletions
|
@ -15,14 +15,16 @@
|
|||
boot.kernelParams = [ "console=tty0" ];
|
||||
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 = {
|
||||
enable = true;
|
||||
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
|
||||
# This is to make an error disappear
|
||||
MAILADDR root
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue