Skip to content

Commit

Permalink
add code for building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Nov 20, 2023
1 parent e1fe30a commit e70ac1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
${self.packages.${system}.test-vm}/bin/run-nixos-vm
'';
default = package;
docs = (pkgs.nixosOptionsDoc {
options = (nixpkgs.lib.nixosSystem {
inherit system;
modules = [ self.nixosModules.default ];
}).options.TLMS;
}).optionsCommonMark;
};

# to get yourself a virtualized testing playground:
Expand Down

0 comments on commit e70ac1f

Please sign in to comment.