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 e6ea41778172..03117e573cf1 100644 --- a/nixos/modules/programs/command-not-found/command-not-found.nix +++ b/nixos/modules/programs/command-not-found/command-not-found.nix @@ -62,7 +62,7 @@ in { programs.command-not-found = { enable = lib.mkDefault (builtins.pathExists cfg.dbPath); - dbPath = pkgs.path + "/programs.sqlite"; + dbPath = lib.mkDefault (pkgs.path + "/programs.sqlite"); }; }