chore: make namespace generic so people can copy easier
This commit is contained in:
		
							parent
							
								
									88593f53a2
								
							
						
					
					
						commit
						7ad43f35c8
					
				
					 45 changed files with 249 additions and 217 deletions
				
			
		| 
						 | 
				
			
			@ -1,17 +1,17 @@
 | 
			
		|||
{
 | 
			
		||||
  options,
 | 
			
		||||
  config,
 | 
			
		||||
  lib,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  namespace,
 | 
			
		||||
  options,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib;
 | 
			
		||||
with lib.wyrdgard;
 | 
			
		||||
let
 | 
			
		||||
  cfg = config.wyrdgard.apps.cli-apps.starship;
 | 
			
		||||
  inherit (lib) mkIf;
 | 
			
		||||
  inherit (lib.${namespace}) mkBoolOpt;
 | 
			
		||||
  cfg = config.${namespace}.apps.cli-apps.starship;
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
  options.wyrdgard.apps.cli-apps.starship = with types; {
 | 
			
		||||
  options.${namespace}.apps.cli-apps.starship = {
 | 
			
		||||
    enable = mkBoolOpt true "Whether or not to enable starship shell";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue