about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2023-01-05 20:39:14 +0000
committerGitHub <noreply@github.com>2023-01-05 20:39:14 +0000
commit1deddf959c16aafeba9fc95594900a7831fd0e3b (patch)
treedeef4d6552a3fedb2023f909b735b0b0d7816d8c /nixos/modules/services
parente44b7a239395ca95536c225cd4e05a2f2a339092 (diff)
parent45d27d43c4dfc0eb6f6b55aa9fbdfb90513271df (diff)
Merge pull request #209175 from gador/unifi-fix-monogdb-version
nixos/unifi: fix mongodb to a stable version
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/networking/unifi.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/unifi.nix b/nixos/modules/services/networking/unifi.nix
index d220aa9fbbe49..91eb385518c35 100644
--- a/nixos/modules/services/networking/unifi.nix
+++ b/nixos/modules/services/networking/unifi.nix
@@ -33,8 +33,8 @@ in
 
     services.unifi.unifiPackage = mkOption {
       type = types.package;
-      default = pkgs.unifiLTS;
-      defaultText = literalExpression "pkgs.unifiLTS";
+      default = pkgs.unifi5;
+      defaultText = literalExpression "pkgs.unifi5";
       description = lib.mdDoc ''
         The unifi package to use.
       '';
@@ -42,10 +42,10 @@ in
 
     services.unifi.mongodbPackage = mkOption {
       type = types.package;
-      default = pkgs.mongodb;
+      default = pkgs.mongodb-4_2;
       defaultText = literalExpression "pkgs.mongodb";
       description = lib.mdDoc ''
-        The mongodb package to use.
+        The mongodb package to use. Please note: unifi7 officially only supports mongodb up until 3.6 but works with 4.2.
       '';
     };