Enable command-not-found

5a5db609e5bd83bc589f36eef394f3ad172d6648 disabled it by default, which
may have been unintentional. mkEnableOption considered harmful.

Changed files
+8 -1
nixos
modules
programs
command-not-found
+8 -1
nixos/modules/programs/command-not-found/command-not-found.nix
···
{
options.programs.command-not-found = {
-
enable = mkEnableOption "command-not-found hook for interactive shell";
+
enable = mkOption {
+
type = types.bool;
+
default = true;
+
description = ''
+
Whether interactive shells should show which Nix package (if
+
any) provides a missing command.
+
'';
+
};
dbPath = mkOption {
default = "/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite" ;