From b157a771c0f9d34eb61c73be264cb6a40eceabc0 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 22 Jan 2024 15:07:40 -0800 Subject: [PATCH] Add server package. --- lemmy-container.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lemmy-container.nix b/lemmy-container.nix index 2a35dff..629f6f2 100644 --- a/lemmy-container.nix +++ b/lemmy-container.nix @@ -44,6 +44,7 @@ let database.createLocally = true; adminPasswordFile = cfg.admin-password-file; nginx.enable = true; + server.package = cfg.server-package; settings = { email = { smtp_server = cfg.smtp.host; @@ -109,6 +110,12 @@ in { default = 25; }; }; + + server-package = mkOption { + type = package; + description = "Package to use for the server."; + default = pkgs.lemmy-server; + }; }; config = mkIf cfg.enable {