[spotify] Move adblock around
This commit is contained in:
		
							parent
							
								
									2a2933c473
								
							
						
					
					
						commit
						e08b3d1784
					
				
					 4 changed files with 23 additions and 9 deletions
				
			
		
							
								
								
									
										11
									
								
								nixos/modules/programs/spotify-adblock/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								nixos/modules/programs/spotify-adblock/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| { config, lib, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.sisyphus.programs.spotify-adblock; | ||||
| in { | ||||
|   options.sisyphus.programs.spotify-adblock.enable = lib.mkEnableOption "Spotify adblock"; | ||||
| 
 | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     environment.etc."spotify-adblock/config.toml".source = "${pkgs.spotify-adblock}/config.toml"; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue