From d087dbc32da9e83fd9a6ef00cc9a1f0d52a66a4a Mon Sep 17 00:00:00 2001 From: bad Date: Fri, 1 Apr 2022 11:47:11 +0200 Subject: [PATCH] Add tesco m2 drive --- hosts/tesco.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/tesco.nix b/hosts/tesco.nix index a3068ae..e667cad 100644 --- a/hosts/tesco.nix +++ b/hosts/tesco.nix @@ -30,7 +30,7 @@ networking.networkmanager.enable = true; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "bcache" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "bcache" "nvme" ]; boot.extraModulePackages = [ ]; @@ -44,6 +44,11 @@ preLVM = true; allowDiscards = true; }; + m2-root = { + device = "/dev/disk/by-uuid/9cb8d4e5-f501-48c9-b953-0a2314f207e9"; + preLVM = true; + allowDiscards = true; + }; }; fileSystems."/" =