Replaced HDD

This commit is contained in:
Craige McWhirter 2020-10-27 17:02:06 +10:00
parent 723232c1c9
commit d32cf49012
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -12,6 +12,7 @@
availableKernelModules = [ availableKernelModules = [
"xhci_pci" # xHCI host controller driver PCI Bus Glue "xhci_pci" # xHCI host controller driver PCI Bus Glue
"ahci" # AHCI SATA support "ahci" # AHCI SATA support
"nvme"
"usbhid" # USB HID transport layer "usbhid" # USB HID transport layer
"usb_storage" # USB Mass Storage support "usb_storage" # USB Mass Storage support
"sd_mod" # SCSI disk support "sd_mod" # SCSI disk support
@ -19,25 +20,25 @@
"aesni_intel" # AES-NI + SSE2 implementation of AEGIS-128 "aesni_intel" # AES-NI + SSE2 implementation of AEGIS-128
"cryptd" # Software async crypto daemon "cryptd" # Software async crypto daemon
]; ];
luks.devices."cryptroot".device = "/dev/disk/by-uuid/c3f585b4-6c9d-4b31-af41-b39ef51a8dc2"; kernelModules = [ "dm-snapshot" ];
luks.devices."cryptroot".device = "/dev/disk/by-uuid/52040288-dea9-4e74-9438-d0946b48a1f4";
}; };
kernelModules = [ "kvm-intel" ]; # Enable kvm for libvirtd kernelModules = [ "kvm-intel" ]; # Enable kvm for libvirtd
extraModulePackages = [ ];
}; };
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/c38b3baf-089b-43ee-bc71-e4f7ce2bc51b"; { device = "/dev/disk/by-uuid/848e15eb-992b-499f-89b1-be8bc59af41c";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/2896da91-c0ca-4fcd-8859-30724944efb2"; { device = "/dev/disk/by-uuid/a9d48855-edaf-40b9-9296-58e9b7c7eb96";
fsType = "ext4"; fsType = "ext4";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/0d751693-1582-4975-9224-d5cba89fc83e"; } [ { device = "/dev/disk/by-uuid/ac308d76-cc12-4a73-83ee-64a2ad07b91e"; }
]; ];
nix.maxJobs = lib.mkDefault 4; nix.maxJobs = lib.mkDefault 4;