Add server package.
This commit is contained in:
parent
d91c7b7c98
commit
b157a771c0
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue