diff --git a/nixos/modules/programs/command-not-found/command-not-found.nix b/nixos/modules/programs/command-not-found/command-not-found.nix index 51ec0922c4f7..e6ea41778172 100644 --- a/nixos/modules/programs/command-not-found/command-not-found.nix +++ b/nixos/modules/programs/command-not-found/command-not-found.nix @@ -61,7 +61,7 @@ in config = lib.mkMerge [ { programs.command-not-found = { - enable = lib.mkOptionDefault (builtins.pathExists cfg.dbPath); + enable = lib.mkDefault (builtins.pathExists cfg.dbPath); dbPath = pkgs.path + "/programs.sqlite"; }; }