1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-24 16:44:52 +03:00
digga/jobs/default.nix

17 lines
370 B
Nix
Raw Normal View History

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