diff --git a/demo/nextcloud/flake.lock b/demo/nextcloud/flake.lock
index 8bf7d4f..106f9cb 100644
--- a/demo/nextcloud/flake.lock
+++ b/demo/nextcloud/flake.lock
@@ -35,11 +35,11 @@
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1716769173,
-        "narHash": "sha256-7EXDb5WBw+d004Agt+JHC/Oyh/KTUglOaQ4MNjBbo5w=",
+        "lastModified": 1725432240,
+        "narHash": "sha256-+yj+xgsfZaErbfYM3T+QvEE2hU7UuE+Jf0fJCJ8uPS0=",
         "owner": "nixos",
         "repo": "nixpkgs",
-        "rev": "9ca3f649614213b2aaf5f1e16ec06952fe4c2632",
+        "rev": "ad416d066ca1222956472ab7d0555a6946746a80",
         "type": "github"
       },
       "original": {
@@ -67,11 +67,11 @@
     },
     "nixpkgs_2": {
       "locked": {
-        "lastModified": 1721466660,
-        "narHash": "sha256-pFSxgSZqZ3h+5Du0KvEL1ccDZBwu4zvOil1zzrPNb3c=",
+        "lastModified": 1725194671,
+        "narHash": "sha256-tLGCFEFTB5TaOKkpfw3iYT9dnk4awTP/q4w+ROpMfuw=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "6e14bbce7bea6c4efd7adfa88a40dac750d80100",
+        "rev": "b833ff01a0d694b910daca6e2ff4a3f26dee478c",
         "type": "github"
       },
       "original": {
@@ -111,11 +111,11 @@
         "nmdsrc": "nmdsrc"
       },
       "locked": {
-        "lastModified": 1723696960,
-        "narHash": "sha256-tDe7eRmuXGajoYIHSOifOxoK030HL1YKUX5YpJASPug=",
+        "lastModified": 1725586184,
+        "narHash": "sha256-zpuRiqkPpVkvbTkNr9eP3QadB57cnXE4JTjsj6ZyvEs=",
         "owner": "ibizaman",
         "repo": "selfhostblocks",
-        "rev": "5d5cd6b87bf44fc8eedce67abecee92ec58a2e96",
+        "rev": "bc1d8dc130f8492cc6b6cd66ea708e009085b01e",
         "type": "github"
       },
       "original": {
@@ -130,11 +130,11 @@
         "nixpkgs-stable": "nixpkgs-stable"
       },
       "locked": {
-        "lastModified": 1723501126,
-        "narHash": "sha256-N9IcHgj/p1+2Pvk8P4Zc1bfrMwld5PcosVA0nL6IGdE=",
+        "lastModified": 1725540166,
+        "narHash": "sha256-htc9rsTMSAY5ek+DB3tpntdD/es0eam2hJgO92bWSys=",
         "owner": "Mic92",
         "repo": "sops-nix",
-        "rev": "be0eec2d27563590194a9206f551a6f73d52fa34",
+        "rev": "d9d781523a1463965cd1e1333a306e70d9feff07",
         "type": "github"
       },
       "original": {
diff --git a/demo/nextcloud/flake.nix b/demo/nextcloud/flake.nix
index 831d5ef..6668fb0 100644
--- a/demo/nextcloud/flake.nix
+++ b/demo/nextcloud/flake.nix
@@ -128,8 +128,8 @@
           domain = "example.com";
           subdomain = "auth";
           ssl = config.shb.certs.certs.selfsigned.n;
-
-          ldapEndpoint = "ldap://127.0.0.1:${builtins.toString config.shb.ldap.ldapPort}";
+          ldapPort = config.shb.ldap.ldapPort;
+          ldapHostname = "ldap://127.0.0.1";
           dcdomain = config.shb.ldap.dcdomain;
 
           secrets = {