mirror of
https://github.com/divnix/digga.git
synced 2024-12-24 16:44:52 +03:00
17 lines
370 B
Nix
17 lines
370 B
Nix
|
{ inputs, system ? builtins.currentSystem }: let
|
||
|
|
||
|
nixpkgs = inputs.nixpkgs;
|
||
|
digga = inputs.digga;
|
||
|
pkgs = import nixpkgs { inherit system; config = {}; overlays = []; };
|
||
|
|
||
|
in {
|
||
|
|
||
|
mkFlakeDoc = pkgs.writeText "mkFlakeOptions.md"
|
||
|
(
|
||
|
pkgs.nixosOptionsDoc {
|
||
|
inherit (digga.lib.mkFlake.evalArgs { args = { }; }) options;
|
||
|
}
|
||
|
).optionsMDDoc;
|
||
|
|
||
|
}
|