From e062ca72b222b890e345548bd8422d5df98e9fef Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 9 May 2024 16:47:41 +0200 Subject: feat: import sources from configuration in go code and index options --- config.toml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 config.toml (limited to 'config.toml') diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..b865415 --- /dev/null +++ b/config.toml @@ -0,0 +1,38 @@ +[sources.nixos] + name = "NixOS" + enable = true + type = "channel" + channel = "nixos-unstable" + import-path = "nixos/release.nix" + attribute = "options" + output-path = "share/doc/nixos/options.json" + [sources.repo] + type = "github" + owner = "NixOS" + repo = "nixpkgs" + +[sources.darwin] + name = "darwin" + enable = true + type = "channel" + channel = "darwin" + import-path = "release.nix" + attribute = "options" + output-path = "share/doc/darwin/options.json" + [sources.repo] + type = "github" + owner = "LnL7" + repo = "nix-darwin" + +[sources.home-manager] + name = "home-manager" + enable = true + type = "channel" + channel = "home-manager" + import-path = "default.nix" + attribute = "docs.json" + output-path = "share/doc/home-manager/options.json" + [sources.repo] + type = "github" + owner = "nix-community" + repo = "home-manager" -- cgit 1.4.1