Skip to content

Commit

Permalink
Merge pull request #93 from tobiasBora/documentation_nix_locate
Browse files Browse the repository at this point in the history
Document nix-locate usage. Fix #79
  • Loading branch information
Mic92 authored Mar 8, 2024
2 parents 94a1e46 + 5633594 commit 2ad5ebc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit 2ad5ebc

Please sign in to comment.