mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
feat: nix: add a new mise task and nix flake output to generate NixOS docs
Adds a new Nix flake output `headplane-nixos-docs` which generates a Markdown page with all NixOS `services.headplane.settings.*` options. Replaces existing handwritten options documentation.
This commit is contained in:
committed by
Aarnav Tale
parent
cdcb38f11e
commit
fdbfe584c5
@@ -31,6 +31,7 @@ rec {
|
||||
packages = {
|
||||
headplane = pkgs.callPackage ./nix/package.nix {headplane-ssh-wasm = packages.headplane-ssh-wasm;};
|
||||
headplane-agent = pkgs.callPackage ./nix/agent.nix {};
|
||||
headplane-nixos-docs = pkgs.callPackage ./nix/docs.nix {};
|
||||
headplane-ssh-wasm = pkgs.callPackage ./nix/ssh-wasm.nix {};
|
||||
};
|
||||
checks.default = pkgs.symlinkJoin {
|
||||
@@ -64,6 +65,7 @@ rec {
|
||||
overlays.default = final: prev: {
|
||||
headplane = final.callPackage ./nix/package.nix {headplane-ssh-wasm = final.headplane-ssh-wasm;};
|
||||
headplane-agent = final.callPackage ./nix/agent.nix {};
|
||||
headplane-nixos-docs = final.callPackage ./nix/docs.nix {};
|
||||
headplane-ssh-wasm = final.callPackage ./nix/ssh-wasm.nix {};
|
||||
};
|
||||
nixosModules.headplane = import ./nix/module.nix;
|
||||
|
||||
Reference in New Issue
Block a user