Right now this is just a sketch for a larger idea of writing a binary called `create-installer` (see docs). Change-Id: Ib8e2acfd5d350ccc344329d87983c415f166d02b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4358 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			352 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			352 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # TODO(wpcarro): Support the workflow outlined in these docs.
 | |
| #
 | |
| # Usage:
 | |
| #   $ lsblk  # get your USB dev path (e.g. /dev/sdb)
 | |
| #   $ create-installer --dev=/dev/sdb //users/wpcarro/nixos/marcus
 | |
| 
 | |
| { pkgs, ... }:
 | |
| 
 | |
| {
 | |
|   imports = [
 | |
|     "${pkgs.nixos}/modules/installer/cd-graphical-gnome.nix"
 | |
|   ];
 | |
| 
 | |
|   config = {
 | |
|     networking.wireless.enable = true;
 | |
|   };
 | |
| }
 |