Skip to content

Commit

Permalink
Enable command-not-found
Browse files Browse the repository at this point in the history
5a5db60 disabled it by default, which
may have been unintentional. mkEnableOption considered harmful.
  • Loading branch information
edolstra committed Oct 10, 2017
1 parent 30a1b94 commit 9df79de
Showing 1 changed file with 8 additions and 1 deletion.
Expand Up @@ -25,7 +25,14 @@ in
{
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" ;
Expand Down

0 comments on commit 9df79de

Please sign in to comment.