2023-03-31 19:43:26 +05:30
|
|
|
{
|
2023-07-11 23:07:49 +05:30
|
|
|
description = "wiki.adtya.xyz";
|
2023-03-31 19:43:26 +05:30
|
|
|
|
|
|
|
inputs = {
|
2023-11-26 19:55:37 +05:30
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
2023-07-11 23:07:49 +05:30
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2023-03-31 19:43:26 +05:30
|
|
|
};
|
|
|
|
|
2023-11-26 19:55:37 +05:30
|
|
|
outputs =
|
|
|
|
{ self
|
|
|
|
, nixpkgs
|
|
|
|
, flake-utils
|
|
|
|
,
|
|
|
|
}:
|
2023-07-11 23:07:49 +05:30
|
|
|
flake-utils.lib.eachDefaultSystem (
|
2023-11-26 19:55:37 +05:30
|
|
|
system:
|
|
|
|
let
|
2023-03-31 19:43:26 +05:30
|
|
|
pkgs = import nixpkgs {
|
2023-07-11 23:07:49 +05:30
|
|
|
inherit system;
|
2023-03-31 19:43:26 +05:30
|
|
|
};
|
|
|
|
in
|
2023-11-26 19:55:37 +05:30
|
|
|
with pkgs; {
|
|
|
|
formatter = nixpkgs-fmt;
|
|
|
|
devShells.default = mkShell {
|
2023-12-04 22:33:11 +05:30
|
|
|
packages = [
|
2023-11-26 19:55:37 +05:30
|
|
|
mdbook
|
2023-12-04 22:33:11 +05:30
|
|
|
tailwindcss-language-server
|
2023-11-26 19:55:37 +05:30
|
|
|
];
|
|
|
|
};
|
|
|
|
packages.default = callPackage ./default.nix { };
|
|
|
|
}
|
2023-03-31 19:43:26 +05:30
|
|
|
);
|
|
|
|
}
|