From 0d5933246ec9148fdbdde4acc18b5d43b7999519 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sat, 28 Sep 2024 12:12:23 -0400 Subject: [PATCH] encrypted Media pool --- systems/jeeves/hardware.nix | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/systems/jeeves/hardware.nix b/systems/jeeves/hardware.nix index 8c4ccc7..a9fe862 100644 --- a/systems/jeeves/hardware.nix +++ b/systems/jeeves/hardware.nix @@ -17,8 +17,38 @@ ]; kernelModules = [ ]; luks.devices = { - "luks-root-pool-wwn-0x500a0751e6c3c01e-part2".device = "/dev/disk/by-id//wwn-0x500a0751e6c3c01e-part2"; - "luks-root-pool-wwn-0x500a0751e6c3c01c-part2".device = "/dev/disk/by-id//wwn-0x500a0751e6c3c01c-part2"; + # cspell:disable + # Root pool + "luks-root-pool-wwn-0x500a0751e6c3c01e-part2" = { + device = "/dev/disk/by-id/wwn-0x500a0751e6c3c01e-part2"; + bypassWorkqueues = true; + }; + "luks-root-pool-wwn-0x500a0751e6c3c01c-part2" = { + device = "/dev/disk/by-id/wwn-0x500a0751e6c3c01c-part2"; + bypassWorkqueues = true; + }; + # Media pool + "luks-media_pool-nvme-INTEL_SSDPEK1A118GA_BTOC14120V2J118B-part1" = { + device = "/dev/disk/by-id/nvme-INTEL_SSDPEK1A118GA_BTOC14120V2J118B-part1"; + bypassWorkqueues = true; + allowDiscards = true; + }; + "luks-media_pool-nvme-INTEL_SSDPEK1A118GA_BTOC14120WAG118B-part1" = { + device = "/dev/disk/by-id/nvme-INTEL_SSDPEK1A118GA_BTOC14120WAG118B-part1"; + bypassWorkqueues = true; + allowDiscards = true; + }; + "luks-media_pool-nvme-INTEL_SSDPE2ME012T4_CVMD5130000G1P2HGN-part1" = { + device = "/dev/disk/by-id/nvme-INTEL_SSDPE2ME012T4_CVMD5130000G1P2HGN-part1"; + bypassWorkqueues = true; + allowDiscards = true; + }; + "luks-media_pool-nvme-INTEL_SSDPE2ME012T4_CVMD5130000U1P2HGN-part1" = { + device = "/dev/disk/by-id/nvme-INTEL_SSDPE2ME012T4_CVMD5130000U1P2HGN-part1"; + bypassWorkqueues = true; + allowDiscards = true; + }; + # cspell:enable }; }; kernelModules = [ "kvm-amd" ];