summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorgardspirito <guardspirit@protonmail.com>2022-06-30 16:01:50 +0300
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-08-12 15:45:48 -0700
commit8d6f4552cd5c6089475f8696c821f39fe3b2cda1 (patch)
treeb6ab6cb943474c63f87361311c3211703bb8e684 /nixos
parent051a99ccd9b05c75b6bf7f932f3312698cbf3dc2 (diff)
nixos/neo4j: fix typo
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2211.section.xml7
-rw-r--r--nixos/modules/services/databases/neo4j.nix2
-rw-r--r--nixos/tests/neo4j.nix4
3 files changed, 10 insertions, 3 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
index 87066e6cdf264..383c9d8a04cd5 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
@@ -374,6 +374,13 @@
       </listitem>
       <listitem>
         <para>
+          Neo4j was updated from version 3 to version 4. See this
+          <link xlink:href="https://neo4j.com/docs/upgrade-migration-guide/current/">migration
+          guide</link> on how to migrate your Neo4j instance.
+        </para>
+      </listitem>
+      <listitem>
+        <para>
           Matrix Synapse now requires entries in the
           <literal>state_group_edges</literal> table to be unique, in
           order to prevent accidentally introducing duplicate
diff --git a/nixos/modules/services/databases/neo4j.nix b/nixos/modules/services/databases/neo4j.nix
index e9bdd146df408..2231d1a6f9d85 100644
--- a/nixos/modules/services/databases/neo4j.nix
+++ b/nixos/modules/services/databases/neo4j.nix
@@ -57,7 +57,7 @@ let
 
     # HTTP Connector
     ${optionalString (cfg.http.enable) ''
-      dbms.connector.http.enabled=${boolToString cfg.https.enable}
+      dbms.connector.http.enabled=${boolToString cfg.http.enable}
       dbms.connector.http.listen_address=${cfg.http.listenAddress}
       dbms.connector.http.advertised_address=${cfg.http.listenAddress}
     ''}
diff --git a/nixos/tests/neo4j.nix b/nixos/tests/neo4j.nix
index 1386e6a48a4d7..0b57f5b2e038a 100644
--- a/nixos/tests/neo4j.nix
+++ b/nixos/tests/neo4j.nix
@@ -6,8 +6,8 @@ import ./make-test-python.nix {
       { ... }:
 
       {
-	virtualisation.memorySize = 4096;
-	virtualisation.diskSize = 1024;
+        virtualisation.memorySize = 4096;
+        virtualisation.diskSize = 1024;
 
         services.neo4j.enable = true;
         # require tls certs to be available