decoysnail: use new luks.devices syntax
This commit is contained in:
		
							parent
							
								
									5147ecfd8c
								
							
						
					
					
						commit
						1fe4d168a7
					
				@ -15,14 +15,13 @@
 | 
				
			|||||||
      issue_discards = 1
 | 
					      issue_discards = 1
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  '';
 | 
					  '';
 | 
				
			||||||
  boot.initrd.luks.devices = [
 | 
					  boot.initrd.luks.devices = {
 | 
				
			||||||
    {
 | 
					    sda_crypt = {
 | 
				
			||||||
      name = "sda_crypt";
 | 
					 | 
				
			||||||
      device = "/dev/disk/by-partuuid/00292928-0088-4887-9e5d-2f2eccb4816f";
 | 
					      device = "/dev/disk/by-partuuid/00292928-0088-4887-9e5d-2f2eccb4816f";
 | 
				
			||||||
      preLVM = true;
 | 
					      preLVM = true;
 | 
				
			||||||
      allowDiscards = true;
 | 
					      allowDiscards = true;
 | 
				
			||||||
    }
 | 
					    };
 | 
				
			||||||
  ];
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  networking = {
 | 
					  networking = {
 | 
				
			||||||
    hostName = "decoysnail";
 | 
					    hostName = "decoysnail";
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user