From 555a3eff5fc3cea4d8d214b08a2e140cd89f1853 Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 26 Jan 2024 15:06:19 -0800 Subject: [PATCH] Just fuck the admin passwd --- lemmy-container.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lemmy-container.nix b/lemmy-container.nix index 908af21..3943519 100644 --- a/lemmy-container.nix +++ b/lemmy-container.nix @@ -23,10 +23,10 @@ in { description = "Name of the Lemmy site."; }; - admin-password-file = mkOption { - type = str; - description = "Path to a file containing the administrator password."; - }; + # admin-password-file = mkOption { + # type = str; + # description = "Path to a file containing the administrator password."; + # }; smtp = { host = mkOption { @@ -77,10 +77,10 @@ in { hostPath = "${cfg.state-directory}/pictrs"; isReadOnly = false; }; - "/run/lemmy-container/admin.passwd" = { - isReadOnly = true; - hostPath = cfg.admin-password-file; - }; + # "/run/lemmy-container/admin.passwd" = { + # isReadOnly = true; + # hostPath = cfg.admin-password-file; + # }; }; additionalCapabilities = [ "CAP_SYS_ADMIN" ]; config = { @@ -112,7 +112,7 @@ in { lemmy = { enable = true; database.uriFile = "/run/lemmy/postgresql.passwd"; - adminPasswordFile = "/run/lemmy-container/admin.passwd"; + # adminPasswordFile = "/run/lemmy-container/admin.passwd"; nginx.enable = true; server.package = cfg.server-package; settings = {