dfh
0ef0d4652a
Some checks failed
Correcting existing formatting will follow in a future PR. Co-authored-by: Skyler Grey <minion@clicks.codes>
41 lines
798 B
Nix
41 lines
798 B
Nix
{
|
|
description = "The Auxolotol wiki";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
snowfall-lib = {
|
|
url = "github:snowfallorg/lib";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
treefmt-nix = {
|
|
url = "github:numtide/treefmt-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
inputs:
|
|
inputs.snowfall-lib.mkFlake {
|
|
inherit inputs;
|
|
|
|
src = ./.;
|
|
|
|
snowfall = {
|
|
namespace = "wiki";
|
|
};
|
|
|
|
outputs-builder =
|
|
channels:
|
|
let
|
|
treefmt = inputs.treefmt-nix.lib.evalModule channels.nixpkgs ./treefmt.nix;
|
|
in
|
|
{
|
|
formatter = treefmt.config.build.wrapper;
|
|
|
|
checks.formatting = treefmt.config.build.check inputs.self;
|
|
};
|
|
};
|
|
}
|