blog-static-flake/flake.nix
Danila Fedorin 2a86640401 Use duktape to run KaTeX from ruby with Node
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-05-24 04:23:25 +00:00

31 lines
928 B
Nix

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
resume.url = "git+https://dev.danilafe.com/DanilaFe/resume";
blog-source = {
flake = false;
url = "https://dev.danilafe.com/Web-Projects/blog-static.git";
type = "git";
submodules = true;
};
web-files.url = "git+https://dev.danilafe.com/Nix-Configs/web-files.git";
};
outputs = { self, blog-source, nixpkgs, flake-utils, resume, web-files }:
flake-utils.lib.eachDefaultSystem (system:
let
lib = import ./lib.nix {
inherit blog-source;
pkgs = import nixpkgs { inherit system; };
resume = resume.defaultPackage.${system};
web-files = web-files.defaultPackage.${system};
};
in
{
inherit lib;
defaultPackage = lib.english { host = "danilafe.com"; };
}
);
}