Fixed some drive oddities
This commit is contained in:
		
							parent
							
								
									e7a149d16c
								
							
						
					
					
						commit
						2f61280348
					
				| 
						 | 
					@ -8,11 +8,16 @@
 | 
				
			||||||
    [ (modulesPath + "/installer/scan/not-detected.nix")
 | 
					    [ (modulesPath + "/installer/scan/not-detected.nix")
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
 | 
					  boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" "cryptd" ];
 | 
				
			||||||
  boot.initrd.kernelModules = [ "dm-snapshot" ];
 | 
					  boot.initrd.kernelModules = [ "dm-snapshot" ];
 | 
				
			||||||
  boot.kernelModules = [ "kvm-amd" ];
 | 
					  boot.kernelModules = [ "kvm-amd" ];
 | 
				
			||||||
  boot.extraModulePackages = [ ];
 | 
					  boot.extraModulePackages = [ ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  boot.initrd.luks.devices."crypt" = 
 | 
				
			||||||
 | 
					    { device = "/dev/disk/by-partlabel/crypt";
 | 
				
			||||||
 | 
					      preLVM = true;
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fileSystems."/" =
 | 
					  fileSystems."/" =
 | 
				
			||||||
    { device = "rpool/root/nixos";
 | 
					    { device = "rpool/root/nixos";
 | 
				
			||||||
      fsType = "zfs";
 | 
					      fsType = "zfs";
 | 
				
			||||||
| 
						 | 
					@ -24,12 +29,12 @@
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fileSystems."/boot" =
 | 
					  fileSystems."/boot" =
 | 
				
			||||||
    { device = "/dev/disk/by-uuid/46C8-4779";
 | 
					    { device = "/dev/disk/by-partlabel/boot";
 | 
				
			||||||
      fsType = "vfat";
 | 
					      fsType = "vfat";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  swapDevices =
 | 
					  swapDevices =
 | 
				
			||||||
    [ { device = "/dev/disk/by-uuid/2162f142-e124-4aeb-aece-79f1648148cd"; }
 | 
					    [ { device = "/dev/partitions/swap"; }
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user