fix build issues with the sd image
This commit is contained in:
		
							parent
							
								
									b75537a353
								
							
						
					
					
						commit
						f8ec2f5d8f
					
				
					 8 changed files with 278 additions and 14 deletions
				
			
		|  | @ -8,7 +8,7 @@ | |||
|   ... | ||||
| }: | ||||
| let | ||||
|   inherit (lib) mkIf mkEnableOption; | ||||
|   inherit (lib) mkIf mkEnableOption mkOption; | ||||
|   cfg = config.${namespace}.apps.cli-apps.helix; | ||||
| 
 | ||||
|   cachix-url = "https://helix.cachix.org"; | ||||
|  | @ -19,13 +19,17 @@ in | |||
| { | ||||
|   options.${namespace}.apps.cli-apps.helix = { | ||||
|     enable = mkEnableOption "Whether to enable helix or not"; | ||||
|     pkg = mkOption { | ||||
|       type = lib.types.package; | ||||
|       default = helix-pkg; | ||||
|       description = "Which helix pacakge to use"; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     environment = { | ||||
|       systemPackages = [ | ||||
|         helix-pkg | ||||
|         pkgs.wl-clipboard | ||||
|         cfg.pkg | ||||
|       ]; | ||||
|     }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue