Merge pull request #209175 from gador/unifi-fix-monogdb-version

nixos/unifi: fix mongodb to a stable version

authored by Thiago Kenji Okada and committed by GitHub 1deddf95 e44b7a23

+4 -4
+4 -4
nixos/modules/services/networking/unifi.nix
··· 33 33 34 34 services.unifi.unifiPackage = mkOption { 35 35 type = types.package; 36 - default = pkgs.unifiLTS; 37 - defaultText = literalExpression "pkgs.unifiLTS"; 36 + default = pkgs.unifi5; 37 + defaultText = literalExpression "pkgs.unifi5"; 38 38 description = lib.mdDoc '' 39 39 The unifi package to use. 40 40 ''; ··· 42 42 43 43 services.unifi.mongodbPackage = mkOption { 44 44 type = types.package; 45 - default = pkgs.mongodb; 45 + default = pkgs.mongodb-4_2; 46 46 defaultText = literalExpression "pkgs.mongodb"; 47 47 description = lib.mdDoc '' 48 - The mongodb package to use. 48 + The mongodb package to use. Please note: unifi7 officially only supports mongodb up until 3.6 but works with 4.2. 49 49 ''; 50 50 }; 51 51