1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-25 09:04:07 +03:00
digga/jobs/default.nix
2022-02-23 15:23:14 -08:00

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;
}