about summary refs log tree commit diff stats
path: root/config.toml
diff options
context:
space:
mode:
authorAlan Pearce2024-05-09 16:47:41 +0200
committerAlan Pearce2024-05-09 19:27:55 +0200
commite062ca72b222b890e345548bd8422d5df98e9fef (patch)
tree89f52ebfdb1fb8069e6323d9dde42f5491dad5d1 /config.toml
parent967f6fdf5c1693d3aa27079b3ae28768fb7356c6 (diff)
downloadsearchix-e062ca72b222b890e345548bd8422d5df98e9fef.tar.lz
searchix-e062ca72b222b890e345548bd8422d5df98e9fef.tar.zst
searchix-e062ca72b222b890e345548bd8422d5df98e9fef.zip
feat: import sources from configuration in go code and index options
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml38
1 files changed, 38 insertions, 0 deletions
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"