2021-10-21 23:00:13 -07:00
|
|
|
{
|
|
|
|
inputs = {
|
2024-05-13 19:43:26 -07:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2021-10-21 23:00:13 -07:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2022-03-27 18:47:07 -07:00
|
|
|
katex-html.url = "git+https://dev.danilafe.com/Nix-Configs/katex-html";
|
2023-02-19 21:49:59 -08:00
|
|
|
resume.url = "git+https://dev.danilafe.com/DanilaFe/resume";
|
2021-10-21 23:00:13 -07:00
|
|
|
blog-source = {
|
|
|
|
flake = false;
|
|
|
|
url = "https://dev.danilafe.com/Web-Projects/blog-static.git";
|
|
|
|
type = "git";
|
|
|
|
submodules = true;
|
|
|
|
};
|
2023-11-29 23:09:28 -08:00
|
|
|
web-files.url = "git+https://dev.danilafe.com/Nix-Configs/web-files.git";
|
2021-10-21 23:00:13 -07:00
|
|
|
};
|
|
|
|
|
2023-11-29 23:09:28 -08:00
|
|
|
outputs = { self, blog-source, nixpkgs, flake-utils, katex-html, resume, web-files }:
|
2023-04-10 19:53:15 -07:00
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
lib = import ./lib.nix {
|
|
|
|
inherit blog-source;
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
katex-html = katex-html.defaultPackage.${system};
|
|
|
|
resume = resume.defaultPackage.${system};
|
2023-11-29 23:09:28 -08:00
|
|
|
web-files = web-files.defaultPackage.${system};
|
2023-04-10 19:53:15 -07:00
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
inherit lib;
|
|
|
|
defaultPackage = lib.english { host = "danilafe.com"; };
|
|
|
|
}
|
|
|
|
);
|
2021-10-21 23:00:13 -07:00
|
|
|
}
|