From b8a4c87abc155c9b87e246af164c233f2c0f75ca Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Wed, 10 Jan 2024 22:38:53 +0100 Subject: [PATCH] feat: Change flake to zola --- flake.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/flake.nix b/flake.nix index 07d25bd..9b5631c 100644 --- a/flake.nix +++ b/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 ]; }); };