2023-01-24 17:20:04 +00:00
|
|
|
{
|
|
|
|
description = "The website for Moxxy";
|
|
|
|
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 = [
|
|
|
|
pkgs.nodePackages."@tailwindcss/typography"
|
|
|
|
];
|
|
|
|
}));
|
2023-01-25 18:25:04 +00:00
|
|
|
|
2023-01-24 17:20:04 +00:00
|
|
|
in {
|
|
|
|
devShell = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
tailwindWithTypography
|
2023-01-25 18:25:04 +00:00
|
|
|
jekyll rubyPackages.jekyll-feed rubyPackages.jekyll-seo-tag
|
2023-01-24 17:42:57 +00:00
|
|
|
imagemagick
|
2023-01-24 17:20:04 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
packages = {
|
2023-01-24 17:46:11 +00:00
|
|
|
website = pkgs.callPackage ./pkgs/website.nix {
|
2023-01-24 17:20:04 +00:00
|
|
|
inherit tailwindWithTypography;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|