`command-not-found` unable to open database

The programs.sqlite is only generated for the nixos- prefixed channels.

As root, run:

nix-channel --add https://nixos.org/channels/nixos-unstable nixos
nix-channel --update
7 Likes