28 lines
650 B
Nix
28 lines
650 B
Nix
|
{
|
||
|
description = "blog.polynom.me";
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||
|
flake-utils.url = "github:numtide/flake-utils";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let
|
||
|
pkgs = import nixpkgs {
|
||
|
inherit system;
|
||
|
};
|
||
|
|
||
|
tailwindWithTypography = (pkgs.nodePackages.tailwindcss.overrideAttrs (old: {
|
||
|
plugins = with pkgs.nodePackages; [
|
||
|
"@tailwindcss/typography"
|
||
|
];
|
||
|
}));
|
||
|
in {
|
||
|
devShell = pkgs.mkShell {
|
||
|
buildInputs = with pkgs; [
|
||
|
tailwindWithTypography
|
||
|
zola
|
||
|
imagemagick
|
||
|
];
|
||
|
};
|
||
|
});
|
||
|
}
|