forked from fediversity/fediversity
		
	s/mkOption/mkEnableOption
This commit is contained in:
		
							parent
							
								
									492a199866
								
							
						
					
					
						commit
						cf5139836e
					
				
					 1 changed files with 5 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
 | 
			
		||||
let
 | 
			
		||||
  inherit (builtins) toString;
 | 
			
		||||
  inherit (lib) mkOption;
 | 
			
		||||
  inherit (lib) mkOption mkEnableOption;
 | 
			
		||||
  inherit (lib.types) types;
 | 
			
		||||
 | 
			
		||||
in {
 | 
			
		||||
| 
						 | 
				
			
			@ -15,10 +15,7 @@ in {
 | 
			
		|||
 | 
			
		||||
  options = {
 | 
			
		||||
    fediversity = {
 | 
			
		||||
      enable = mkOption {
 | 
			
		||||
        type = types.bool;
 | 
			
		||||
        default = false;
 | 
			
		||||
      };
 | 
			
		||||
      enable = mkEnableOption "the collection of services bundled under Fediversity";
 | 
			
		||||
 | 
			
		||||
      garage = mkOption {
 | 
			
		||||
        type = types.anything;
 | 
			
		||||
| 
						 | 
				
			
			@ -28,9 +25,9 @@ in {
 | 
			
		|||
        type = types.string;
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      mastodon.enable = mkOption { type = types.bool; default = false; };
 | 
			
		||||
      pixelfed.enable = mkOption { type = types.bool; default = false; };
 | 
			
		||||
      peertube.enable = mkOption { type = types.bool; default = false; };
 | 
			
		||||
      mastodon.enable = mkEnableOption "default Fediversity Mastodon configuration";
 | 
			
		||||
      pixelfed.enable = mkEnableOption "default Fediversity Pixelfed configuration";
 | 
			
		||||
      peertube.enable = mkEnableOption "default Fediversity PeerTube configuration";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue