Skip to content

Commit e70ac1f

Browse files
committed
add code for building docs
1 parent e1fe30a commit e70ac1f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flake.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@
6969
${self.packages.${system}.test-vm}/bin/run-nixos-vm
7070
'';
7171
default = package;
72+
docs = (pkgs.nixosOptionsDoc {
73+
options = (nixpkgs.lib.nixosSystem {
74+
inherit system;
75+
modules = [ self.nixosModules.default ];
76+
}).options.TLMS;
77+
}).optionsCommonMark;
7278
};
7379

7480
# to get yourself a virtualized testing playground:

0 commit comments

Comments
 (0)