blob: f27727750844b9dc6c45545b0272cdddcc4c95db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib, ... }:
{
name = "fider-server";
nodes = {
machine =
{ pkgs, ... }:
{
services.fider = {
enable = true;
environment = {
JWT_SECRET = "not_so_secret";
BASE_URL = "/";
EMAIL_NOREPLY = "noreply@fider.io";
EMAIL_SMTP_HOST = "mailhog";
EMAIL_SMTP_PORT = "1025";
};
};
};
};
testScript = ''
machine.start()
machine.wait_for_unit("fider.service")
machine.wait_for_open_port(3000)
'';
meta.maintainers = with lib.maintainers; [
niklaskorz
];
}
|