forked from jan-leila/nix-config
		
	added webtoons dl
This commit is contained in:
		
							parent
							
								
									848c57caa0
								
							
						
					
					
						commit
						131f730caf
					
				
					 2 changed files with 29 additions and 1 deletions
				
			
		|  | @ -1,4 +1,8 @@ | ||||||
| {inputs, ...}: { | { | ||||||
|  |   inputs, | ||||||
|  |   pkgs, | ||||||
|  |   ... | ||||||
|  | }: { | ||||||
|   imports = [ |   imports = [ | ||||||
|     inputs.nixos-hardware.nixosModules.framework-11th-gen-intel |     inputs.nixos-hardware.nixosModules.framework-11th-gen-intel | ||||||
|   ]; |   ]; | ||||||
|  | @ -17,6 +21,12 @@ | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  |   environment.systemPackages = [ | ||||||
|  |     (pkgs.callPackage | ||||||
|  |       ./webtoon-dl.nix | ||||||
|  |       {}) | ||||||
|  |   ]; | ||||||
|  | 
 | ||||||
|   # enabled virtualisation for docker |   # enabled virtualisation for docker | ||||||
|   # virtualisation.docker = { |   # virtualisation.docker = { | ||||||
|   #   enable = true; |   #   enable = true; | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								configurations/nixos/horizon/webtoon-dl.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								configurations/nixos/horizon/webtoon-dl.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | ||||||
|  | { | ||||||
|  |   buildGoModule, | ||||||
|  |   fetchFromGitHub, | ||||||
|  |   ... | ||||||
|  | }: | ||||||
|  | buildGoModule rec { | ||||||
|  |   pname = "webtoon-dl"; | ||||||
|  |   version = "0.0.10"; | ||||||
|  | 
 | ||||||
|  |   src = fetchFromGitHub { | ||||||
|  |     owner = "robinovitch61"; | ||||||
|  |     repo = "webtoon-dl"; | ||||||
|  |     rev = "v${version}"; | ||||||
|  |     hash = "sha256-geVb3LFPZxPQYARZnaqOr5sgaN6mqkEX5ZiLvg8mF5k="; | ||||||
|  |   }; | ||||||
|  | 
 | ||||||
|  |   vendorHash = "sha256-NTqUygJ6b6kTnLUnJqxCo/URzaRouPLACEPi2Ob1s9w="; | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue