Use partition labels for / and swap
This commit is contained in:
		
							parent
							
								
									a7fb69ab92
								
							
						
					
					
						commit
						035becd018
					
				| @ -14,12 +14,12 @@ | |||||||
|   boot.extraModulePackages = [ ]; |   boot.extraModulePackages = [ ]; | ||||||
| 
 | 
 | ||||||
|   fileSystems."/" = |   fileSystems."/" = | ||||||
|     { device = "/dev/disk/by-uuid/289f78d9-b339-47de-b321-0a6796b9a79b"; |     { device = "/dev/disk/by-label/nixos"; | ||||||
|       fsType = "ext4"; |       fsType = "ext4"; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|   swapDevices = |   swapDevices = | ||||||
|     [ { device = "/dev/disk/by-uuid/2bac02f9-7ea1-4868-9536-23710f19baca"; } |     [ { device = "/dev/disk/by-label/swap"; } | ||||||
|     ]; |     ]; | ||||||
| 
 | 
 | ||||||
|   # Enables DHCP on each ethernet and wireless interface. In case of scripted networking |   # Enables DHCP on each ethernet and wireless interface. In case of scripted networking | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user