mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
update EDI for mdadm
This commit is contained in:
parent
f05e7f6ae3
commit
63eb259904
1 changed files with 12 additions and 0 deletions
|
@ -15,6 +15,17 @@
|
|||
boot.kernelParams = [ "console=tty0" ];
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
|
||||
boot.swraid = {
|
||||
enable = true;
|
||||
mdadmConf = "ARRAY /dev/md/edi:DATA metadata=1.2 UUID=f0384881:84c12f70:3dcad802:653ccc30";
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/home/aaronh/DATA" = {
|
||||
device = "/dev/md127";
|
||||
};
|
||||
};
|
||||
|
||||
nix.settings.extra-platforms = [ "aarch64-linux" ];
|
||||
nix.buildMachines = [{
|
||||
hostName = "localhost";
|
||||
|
@ -44,6 +55,7 @@
|
|||
];
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
services.openssh.settings = {
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue