treewide: Refactor in order to clean up flake.nix
This commit is contained in:
		
							parent
							
								
									068e6d5d77
								
							
						
					
					
						commit
						e8b16459d9
					
				
					 7 changed files with 101 additions and 98 deletions
				
			
		
							
								
								
									
										22
									
								
								configuration/hardware-specific/linode/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								configuration/hardware-specific/linode/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | |||
| { | ||||
|   imports = [ | ||||
|     ./hardware-configuration.nix | ||||
|   ]; | ||||
| 
 | ||||
|   # Required for the lish console | ||||
|   boot.kernelParams = ["console=ttyS0,19200n8"]; | ||||
| 
 | ||||
|   boot.loader = { | ||||
|     # Timeout to allow lish to connect | ||||
|     timeout = 10; | ||||
| 
 | ||||
|     grub = { | ||||
|       device = "nodev"; | ||||
|       extraConfig = '' | ||||
|         serial --speed=19200 --unit=0 --word=8 --parity=no --stop=1; | ||||
|         terminal_input serial; | ||||
|         terminal_output serial; | ||||
|       ''; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue