clan-homepage/flake.nix

27 lines
786 B
Nix
Raw Normal View History

2023-07-05 11:22:58 +00:00
{
description = "Website of the clan project";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
2023-07-31 18:05:04 +00:00
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";
2023-07-05 11:22:58 +00:00
};
outputs = inputs@{ self, flake-parts, clan-core, ... }:
2023-07-05 11:22:58 +00:00
flake-parts.lib.mkFlake { inherit inputs; } ({ lib, ... }: {
2023-07-31 18:06:16 +00:00
systems = [ "x86_64-linux" ];
2023-07-17 21:21:54 +00:00
imports = [
./flake-parts/deploy.nix
2023-07-31 18:05:04 +00:00
./flake-parts/devShells
./flake-parts/new-post.nix
./flake-parts/website.nix
2023-07-17 21:21:54 +00:00
];
perSystem = {pkgs, ...}: {
formatter = pkgs.writeShellScriptBin "true" "true";
2023-07-05 11:22:58 +00:00
};
});
}