feat: Change flake to zola
This commit is contained in:
		
							parent
							
								
									0e1ed09bee
								
							
						
					
					
						commit
						b8a4c87abc
					
				
							
								
								
									
										15
									
								
								flake.nix
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								flake.nix
									
									
									
									
									
								
							| @ -14,28 +14,17 @@ | ||||
|     supportedSystems = [ "x86_64-linux" ]; | ||||
|     forAllSystems = nixpkgs.lib.attrsets.genAttrs supportedSystems; | ||||
|   in { | ||||
|     packages = forAllSystems (system: let | ||||
|     devShell = forAllSystems (system: let | ||||
|       pkgs = import nixpkgs { inherit system; }; | ||||
| 
 | ||||
|       tailwindWithTypography = pkgs.nodePackages.tailwindcss.overrideAttrs (old: { | ||||
|         plugins = [ | ||||
|           pkgs.nodePackages."@tailwindcss/typography" | ||||
|         ]; | ||||
|       }); | ||||
|     in { | ||||
|       default = pkgs.callPackage ./pkgs/website.nix { | ||||
|         shared-assets = assets.packages.${system}.default; | ||||
| 
 | ||||
|         inherit tailwindWithTypography; | ||||
|       }; | ||||
|     }); | ||||
| 
 | ||||
|     devShell = forAllSystems (system: let | ||||
|       pkgs = import nixpkgs { inherit system; }; | ||||
|       pythonEnv = pkgs.python3.withPackages (ps: with ps; [ markdown ]); | ||||
|     in pkgs.mkShell { | ||||
|       buildInputs = with pkgs; [ | ||||
|         pythonEnv | ||||
|         tailwindWithTypography zola | ||||
|       ]; | ||||
|     }); | ||||
|   }; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user