From 63eb2599046cde9ac6a64086fe8a465fa92b6beb Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Fri, 1 Nov 2024 22:41:20 +0000 Subject: [PATCH] update EDI for mdadm --- hosts/x86_64/EDI/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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"; };