fix(adho): Configure encrypted disks in local config
This commit is contained in:
		
							parent
							
								
									98fc907d90
								
							
						
					
					
						commit
						28feb4bc92
					
				
					 2 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -2,6 +2,7 @@
 | 
				
			||||||
{ config, ...}:
 | 
					{ config, ...}:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
					  boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
 | 
				
			||||||
  networking.hostName = "adho";
 | 
					  networking.hostName = "adho";
 | 
				
			||||||
  networking.connman.enable = true;
 | 
					  networking.connman.enable = true;
 | 
				
			||||||
  services.xserver.libinput.enable = true;
 | 
					  services.xserver.libinput.enable = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,9 +13,6 @@ in {
 | 
				
			||||||
    ./local-configuration.nix
 | 
					    ./local-configuration.nix
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Ensure encrypted devices are decrypted
 | 
					 | 
				
			||||||
  boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # Use the systemd-boot EFI boot loader.
 | 
					  # Use the systemd-boot EFI boot loader.
 | 
				
			||||||
  boot.loader.systemd-boot.enable = true;
 | 
					  boot.loader.systemd-boot.enable = true;
 | 
				
			||||||
  boot.loader.efi.canTouchEfiVariables = true;
 | 
					  boot.loader.efi.canTouchEfiVariables = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue