Set efi system partition
This commit is contained in:
		
							parent
							
								
									42456998b6
								
							
						
					
					
						commit
						b55f21ebe8
					
				
					 5 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -20,6 +20,7 @@ in {
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  boot.loader.efi.efiSysMountPoint = "/boot/efi";
 | 
				
			||||||
  fileSystems."/boot/efi" = {
 | 
					  fileSystems."/boot/efi" = {
 | 
				
			||||||
    device = "/dev/disk/by-label/NIX_BOOT";
 | 
					    device = "/dev/disk/by-label/NIX_BOOT";
 | 
				
			||||||
    fsType = "vfat";
 | 
					    fsType = "vfat";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -42,6 +42,7 @@ in {
 | 
				
			||||||
      device = "/dev/disk/by-label/CRYPT_DATA";
 | 
					      device = "/dev/disk/by-label/CRYPT_DATA";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					  boot.loader.efi.efiSysMountPoint = "/boot/efi";
 | 
				
			||||||
  fileSystems."/boot/efi" = {
 | 
					  fileSystems."/boot/efi" = {
 | 
				
			||||||
    device = "/dev/disk/by-label/NIXBOOT";
 | 
					    device = "/dev/disk/by-label/NIXBOOT";
 | 
				
			||||||
    fsType = "vfat";
 | 
					    fsType = "vfat";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,6 +27,7 @@
 | 
				
			||||||
    options = [ "subvol=home" ];
 | 
					    options = [ "subvol=home" ];
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  boot.loader.efi.efiSysMountPoint = "/boot/efi";
 | 
				
			||||||
  fileSystems."/boot/efi" = {
 | 
					  fileSystems."/boot/efi" = {
 | 
				
			||||||
    device = "/dev/disk/by-uuid/B1BB-15DD";
 | 
					    device = "/dev/disk/by-uuid/B1BB-15DD";
 | 
				
			||||||
    fsType = "vfat";
 | 
					    fsType = "vfat";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -33,6 +33,7 @@ in {
 | 
				
			||||||
    options = [ "subvol=@home" ] ++ btrfs_options ++ btrfs_ssd;
 | 
					    options = [ "subvol=@home" ] ++ btrfs_options ++ btrfs_ssd;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  boot.loader.efi.efiSysMountPoint = "/boot/efi";
 | 
				
			||||||
  fileSystems."/boot/efi" = {
 | 
					  fileSystems."/boot/efi" = {
 | 
				
			||||||
    device = "/dev/disk/by-uuid/DC3B-5753";
 | 
					    device = "/dev/disk/by-uuid/DC3B-5753";
 | 
				
			||||||
    fsType = "vfat";
 | 
					    fsType = "vfat";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,8 +23,6 @@
 | 
				
			||||||
      # It's still possible to open the bootloader list by pressing any key
 | 
					      # It's still possible to open the bootloader list by pressing any key
 | 
				
			||||||
      # It will just not appear on screen unless a key is pressed
 | 
					      # It will just not appear on screen unless a key is pressed
 | 
				
			||||||
      timeout = 0;
 | 
					      timeout = 0;
 | 
				
			||||||
      efi.canTouchEfiVariables = true;
 | 
					 | 
				
			||||||
      efi.efiSysMountPoint = "/boot/efi";
 | 
					 | 
				
			||||||
      systemd-boot = {
 | 
					      systemd-boot = {
 | 
				
			||||||
        enable = true;
 | 
					        enable = true;
 | 
				
			||||||
        # editor = false;
 | 
					        # editor = false;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue