nixos/colony: Move to new thin pool for NVMe

This commit is contained in:
2023-02-19 16:47:13 +00:00
parent c2634aff55
commit f17ed65cb8
3 changed files with 24 additions and 22 deletions

View File

@@ -62,6 +62,7 @@
kernelModules = [ "kvm-amd" ];
kernelParams = [ "amd_iommu=on" "console=ttyS0,115200n8" "console=ttyS1,115200n8" "console=tty0" ];
initrd = {
kernelModules = [ "dm-raid" ];
availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
};
};
@@ -72,11 +73,11 @@
fsType = "vfat";
};
"/nix" = {
device = "/dev/hdds/tmp-colony-nix";
device = "/dev/main/colony-nix";
fsType = "ext4";
};
"/persist" = {
device = "/dev/hdds/tmp-colony-persist";
device = "/dev/main/colony-persist";
fsType = "ext4";
neededForBoot = true;
};