diff --git a/hosts/Alaska/default.nix b/hosts/Alaska/default.nix index bd5cbd1..be66278 100644 --- a/hosts/Alaska/default.nix +++ b/hosts/Alaska/default.nix @@ -26,4 +26,10 @@ efiSysMountPoint = "/boot/efi"; }; }; + + boot.initrd.services.swraid.mdadmConf = builtins.readFile ./rsrcs/mdadm.conf; + + environment.etc."mdadm.conf".text = '' + MAILADDR root + ''; } diff --git a/hosts/Alaska/hardware-configuration.nix b/hosts/Alaska/hardware-configuration.nix index e2608ad..3077ce2 100644 --- a/hosts/Alaska/hardware-configuration.nix +++ b/hosts/Alaska/hardware-configuration.nix @@ -23,6 +23,11 @@ fsType = "vfat"; }; + fileSystems."/Aurora" = + { device = "/dev/disk/by-uuid/9e84f746-f128-4682-896b-0857e77182fd"; + fsType = "ext4"; + }; + swapDevices = [ { device = "/dev/disk/by-uuid/e45edaf8-78f9-4a67-a2ec-97d45a3c7311"; } ]; diff --git a/hosts/Alaska/dnsmasq.nix b/hosts/Alaska/modules/dnsmasq.nix similarity index 100% rename from hosts/Alaska/dnsmasq.nix rename to hosts/Alaska/modules/dnsmasq.nix diff --git a/hosts/Alaska/rsrcs/mdadm.conf b/hosts/Alaska/rsrcs/mdadm.conf new file mode 100644 index 0000000..69ffd16 --- /dev/null +++ b/hosts/Alaska/rsrcs/mdadm.conf @@ -0,0 +1 @@ +ARRAY /dev/md0 metadata=1.2 name=Alaska:0 UUID=6a6687db:bd6ec4e7:df3986ce:4530c7c1