mirror of
				https://github.com/nmasur/dotfiles
				synced 2025-11-04 11:43:16 +00:00 
			
		
		
		
	using dotnet 8 thanks to help from claude, not sure if i'm actually doing any of this correctly
		
			
				
	
	
		
			22 lines
		
	
	
		
			309 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			309 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  config,
 | 
						|
  pkgs,
 | 
						|
  lib,
 | 
						|
  ...
 | 
						|
}:
 | 
						|
 | 
						|
let
 | 
						|
  cfg = config.nmasur.presets.programs.slsk-batchdl;
 | 
						|
in
 | 
						|
 | 
						|
{
 | 
						|
 | 
						|
  options.nmasur.presets.programs.slsk-batchdl.enable = lib.mkEnableOption "slsk downloader";
 | 
						|
 | 
						|
  config = lib.mkIf cfg.enable {
 | 
						|
    environment.systemPackages = [
 | 
						|
      pkgs.nmasur.slsk-batchdl
 | 
						|
    ];
 | 
						|
  };
 | 
						|
}
 |