diff --git a/hosts/x86_64/EDI/configuration.nix b/hosts/x86_64/EDI/configuration.nix index 7bb53f6..27498d5 100644 --- a/hosts/x86_64/EDI/configuration.nix +++ b/hosts/x86_64/EDI/configuration.nix @@ -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"; };