docs: update default nix-darwin importer config
Alan Pearce alan@alanpearce.eu
Wed, 20 Nov 2024 10:37:42 +0100
2 files changed, 2 insertions(+), 2 deletions(-)
M defaults.toml → defaults.toml
@@ -152,7 +152,7 @@ Channel = 'nixpkgs' # (Fetcher=channel) Remote URL for channel, (Fetcher=download) Path containing files named 'revision' and 'options.json'. URL = 'https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz' # (Fetcher=channel) Nix attribute name (i.e. nix-build -A) that builds an {options,packages}.json -Attribute = 'options' +Attribute = 'docs.optionsJSON' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = 'nixos/release.nix' # Abort import if it takes longer than this.
M internal/config/default.go → internal/config/default.go
@@ -61,7 +61,7 @@ Fetcher: Channel, Channel: "nixpkgs", URL: "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz", ImportPath: "nixos/release.nix", - Attribute: "options", + Attribute: "docs.optionsJSON", OutputPath: "share/doc/nixos", Timeout: Duration{5 * time.Minute}, Repo: nixpkgs,