programs.command-not-found.dbPath

NixOS option

Absolute path to programs.sqlite, which contains mappings from binary names to package names. If a nixpkgs tarball from https://channels.nixos.org is used as the source of nixpkgs, this file will be provided and this option be set by default. To use the stateful programs.sqlite database, set this option to /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite. If you do so, you can update it with sudo nix-channels --update.

type: absolute path
Default
pkgs.path + "/programs.sqlite"
declared in: nixos/modules/programs/command-not-found/command-not-found.nixView source on NixOS/nixpkgs →