feat: enable searching via program names for multi-program packages implements: https://todo.sr.ht/~alanpearce/searchix/6
1 file changed, 29 insertions(+), 1 deletion(-)
changed files
M defaults.toml → 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 @@ # Currently only 'github' is supported. 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'