From 56335944627b7360c31da13c73aa521d996637d8 Mon Sep 17 00:00:00 2001 From: Tobias Bora Date: Wed, 6 Mar 2024 14:42:20 +0100 Subject: [PATCH] Document nix-locate usage. Fix #79 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1637568..cbce404 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ Include the nixos module in your configuration (requires 23.05 or nixos unstable } ``` +You can then call `nix-locate` as usual, it will automatically use the database provided by this repository. ## Usage in Home-manager @@ -82,6 +83,8 @@ Include the nixos module in your configuration (requires 23.05 or nixos unstable } ``` +You can then call `nix-locate` as usual, it will automatically use the database provided by this repository. + Additionally, if your shell is managed by home-manager, you can have `nix-index` integrate with your shell's `command-not-found` functionality by setting `programs.nix-index.enable = true`.