mirror of
				https://github.com/DreamMaoMao/maomaowm.git
				synced 2025-11-03 09:01:47 -05:00 
			
		
		
		
	nix: Use types.lines for settings and autostart_sh
This commit is contained in:
		
							parent
							
								
									906c64c041
								
							
						
					
					
						commit
						ec28e1ffdc
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -72,7 +72,7 @@ in {
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      settings = mkOption {
 | 
					      settings = mkOption {
 | 
				
			||||||
        description = "mango config content";
 | 
					        description = "mango config content";
 | 
				
			||||||
        type = types.str;
 | 
					        type = types.lines;
 | 
				
			||||||
        default = "";
 | 
					        default = "";
 | 
				
			||||||
        example = ''
 | 
					        example = ''
 | 
				
			||||||
          # menu and terminal
 | 
					          # menu and terminal
 | 
				
			||||||
| 
						 | 
					@ -82,7 +82,7 @@ in {
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      autostart_sh = mkOption {
 | 
					      autostart_sh = mkOption {
 | 
				
			||||||
        description = "WARRNING: This is a shell script, but no need to add shebang";
 | 
					        description = "WARRNING: This is a shell script, but no need to add shebang";
 | 
				
			||||||
        type = types.str;
 | 
					        type = types.lines;
 | 
				
			||||||
        default = "";
 | 
					        default = "";
 | 
				
			||||||
        example = ''
 | 
					        example = ''
 | 
				
			||||||
          waybar &
 | 
					          waybar &
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue