mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 01:32:11 +01:00 
			
		
		
		
	
		
			
	
	
		
			17 lines
		
	
	
	
		
			321 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
	
		
			321 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
|   | { config, lib, pkgs, ... }: | ||
|  | let | ||
|  |   cfg = config.my.profiles.usb-iso; | ||
|  | in | ||
|  | { | ||
|  |   options.my.profiles.usb-iso = with lib; { | ||
|  |     enable = mkEnableOption "usb-iso profile"; | ||
|  |   }; | ||
|  | 
 | ||
|  |   config = lib.mkIf cfg.enable { | ||
|  |     environment.systemPackages = with pkgs; [ | ||
|  |       ventoy-bin-full # general | ||
|  |       woeusb-ng # windows | ||
|  |     ]; | ||
|  |   }; | ||
|  | } |