clan-homepage/flake.nix
DavHau 1ace76bd96
All checks were successful
check / test (pull_request) Successful in 15s
automatically include docs from clan-core
2024-01-17 14:16:37 +07:00

27 lines
786 B
Nix

{
description = "Website of the clan project";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
clan-core.url = "git+https://git.clan.lol/clan/clan-core";
clan-core.inputs.flake-parts.follows = "flake-parts";
clan-core.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs@{ self, flake-parts, clan-core, ... }:
flake-parts.lib.mkFlake { inherit inputs; } ({ lib, ... }: {
systems = [ "x86_64-linux" ];
imports = [
./flake-parts/deploy.nix
./flake-parts/devShells
./flake-parts/new-post.nix
./flake-parts/website.nix
];
perSystem = {pkgs, ...}: {
formatter = pkgs.writeShellScriptBin "true" "true";
};
});
}