Add server package.
This commit is contained in:
parent
d91c7b7c98
commit
b157a771c0
|
@ -44,6 +44,7 @@ let
|
||||||
database.createLocally = true;
|
database.createLocally = true;
|
||||||
adminPasswordFile = cfg.admin-password-file;
|
adminPasswordFile = cfg.admin-password-file;
|
||||||
nginx.enable = true;
|
nginx.enable = true;
|
||||||
|
server.package = cfg.server-package;
|
||||||
settings = {
|
settings = {
|
||||||
email = {
|
email = {
|
||||||
smtp_server = cfg.smtp.host;
|
smtp_server = cfg.smtp.host;
|
||||||
|
@ -109,6 +110,12 @@ in {
|
||||||
default = 25;
|
default = 25;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
server-package = mkOption {
|
||||||
|
type = package;
|
||||||
|
description = "Package to use for the server.";
|
||||||
|
default = pkgs.lemmy-server;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
Loading…
Reference in New Issue