mirror of
https://github.com/divnix/digga.git
synced 2024-12-23 16:11:51 +03:00
21 lines
416 B
Nix
21 lines
416 B
Nix
{ system ? builtins.currentSystem
|
|
, inputs ? import ../ufr-polyfills/flake.lock.nix ./.
|
|
}:
|
|
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;
|
|
|
|
}
|