diff options
author | Alan Pearce | 2025-01-15 22:25:33 +0100 |
---|---|---|
committer | Alan Pearce | 2025-01-15 22:25:33 +0100 |
commit | 7aea6aa210a8939ac208fb7540d1b46ba69a995f (patch) | |
tree | 80f8db2539289ca545eb356bf87e2b764d39c966 /defaults.toml | |
parent | b26ddba432f8bde78022d2fc8837f0ffb25448b1 (diff) | |
download | searchix-7aea6aa210a8939ac208fb7540d1b46ba69a995f.tar.lz searchix-7aea6aa210a8939ac208fb7540d1b46ba69a995f.tar.zst searchix-7aea6aa210a8939ac208fb7540d1b46ba69a995f.zip |
feat: enable searching via program names for multi-program packages
implements: https://todo.sr.ht/~alanpearce/searchix/6
Diffstat (limited to 'defaults.toml')
-rw-r--r-- | defaults.toml | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/defaults.toml b/defaults.toml index 4f95929..bfd2efa 100644 --- a/defaults.toml +++ b/defaults.toml @@ -101,6 +101,13 @@ Type = 'github' Owner = 'LnL7' Repo = 'nix-darwin' +# Used to enable searching for programs in multi-program packages +[Importer.Sources.darwin.Programs] +# Enable searching for programs in multi-program packages +Enable = false +# Nix attribute name (i.e. nix-instantiate) that builds a programs.sqlite file +Attribute = '' + [Importer.Sources.home-manager] # Human-readable name of source for generating links Name = 'Home Manager' @@ -134,6 +141,13 @@ Type = 'github' Owner = 'nix-community' Repo = 'home-manager' +# Used to enable searching for programs in multi-program packages +[Importer.Sources.home-manager.Programs] +# Enable searching for programs in multi-program packages +Enable = false +# Nix attribute name (i.e. nix-instantiate) that builds a programs.sqlite file +Attribute = '' + [Importer.Sources.nixos] # Human-readable name of source for generating links Name = 'NixOS' @@ -167,6 +181,13 @@ Type = 'github' Owner = 'NixOS' Repo = 'nixpkgs' +# Used to enable searching for programs in multi-program packages +[Importer.Sources.nixos.Programs] +# Enable searching for programs in multi-program packages +Enable = false +# Nix attribute name (i.e. nix-instantiate) that builds a programs.sqlite file +Attribute = '' + [Importer.Sources.nixpkgs] # Human-readable name of source for generating links Name = 'Nix Packages' @@ -189,7 +210,7 @@ Attribute = '' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = '' # Abort import if it takes longer than this. -Timeout = '5m0s' +Timeout = '15m0s' # (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json. OutputPath = 'packages.json.br' @@ -199,3 +220,10 @@ OutputPath = 'packages.json.br' Type = 'github' Owner = 'NixOS' Repo = 'nixpkgs' + +# Used to enable searching for programs in multi-program packages +[Importer.Sources.nixpkgs.Programs] +# Enable searching for programs in multi-program packages +Enable = true +# Nix attribute name (i.e. nix-instantiate) that builds a programs.sqlite file +Attribute = 'programs.sqlite' |