add mpv in home package
This commit is contained in:
		
							parent
							
								
									5bc9540ef3
								
							
						
					
					
						commit
						e1bd56b5aa
					
				
					 3 changed files with 18 additions and 0 deletions
				
			
		|  | @ -29,6 +29,7 @@ | ||||||
|     foot.enable = false; |     foot.enable = false; | ||||||
|     starship.enable = true; |     starship.enable = true; | ||||||
|     sops.enable = true; |     sops.enable = true; | ||||||
|  |     mpv.enable = true; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   david = { |   david = { | ||||||
|  |  | ||||||
|  | @ -23,6 +23,7 @@ | ||||||
|       ./niri.nix |       ./niri.nix | ||||||
|       ./wluma.nix |       ./wluma.nix | ||||||
|       ./waybar.nix |       ./waybar.nix | ||||||
|  |       ./mpv.nix | ||||||
|     ]; |     ]; | ||||||
| 
 | 
 | ||||||
|   options = { |   options = { | ||||||
|  |  | ||||||
							
								
								
									
										16
									
								
								home/modules/mpv.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								home/modules/mpv.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | ||||||
|  | { lib, config, ... }: | ||||||
|  | let | ||||||
|  |   cfg = config.youthlic.programs.mpv; | ||||||
|  | in | ||||||
|  | { | ||||||
|  |   options = { | ||||||
|  |     youthlic.programs.mpv = { | ||||||
|  |       enable = lib.mkEnableOption "mpv"; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  |   config = lib.mkIf cfg.enable { | ||||||
|  |     programs.mpv = { | ||||||
|  |       enable = true; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue