From 9919537bc6386a7e8f520927c9d4e4942298e430 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 17 Jul 2023 20:13:34 -0700 Subject: [PATCH] Always set an admin passwd --- lemmy-docker.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemmy-docker.nix b/lemmy-docker.nix index 46955a9..e6c4f7e 100644 --- a/lemmy-docker.nix +++ b/lemmy-docker.nix @@ -169,7 +169,7 @@ let tls_type = "none"; smtp_from_address = "noreply@${hostname}"; }; - setup = mkIf (adminPasswd != null) { + setup = { admin_username = "admin"; admin_password = adminPasswd; };