From ab64ff684b8d242674b30c2325e62bddfbc41888 Mon Sep 17 00:00:00 2001 From: Markus Schmidl Date: Tue, 21 Nov 2023 00:21:50 +0100 Subject: [PATCH] add code for building docs --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index 2e47a24..e74e81a 100644 --- a/flake.nix +++ b/flake.nix @@ -39,6 +39,12 @@ packages = { data-accumulator = package; default = package; + docs = (pkgs.nixosOptionsDoc { + options = (nixpkgs.lib.nixosSystem { + inherit system; + modules = [ self.nixosModules.default ]; + }).options.TLMS; + }).optionsCommonMark; }; devShells.default = pkgs.mkShell { nativeBuildInputs = (with packages.data-accumulator; buildInputs ++ nativeBuildInputs);