repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vuls: init at 0.27.0
[NixPkgs.git]
/
nixos
/
tests
/
komga.nix
blob
d48d19bbbdd37cc8725c2aaddbbcfa989742dcbe
1
import ./make-test-python.nix ({ lib, ... }:
2
3
{
4
name = "komga";
5
meta.maintainers = with lib.maintainers; [ govanify ];
6
7
nodes.machine =
8
{ pkgs, ... }:
9
{ services.komga = {
10
enable = true;
11
port = 1234;
12
};
13
};
14
15
testScript = ''
16
machine.wait_for_unit("komga.service")
17
machine.wait_for_open_port(1234)
18
machine.succeed("curl --fail http://localhost:1234/")
19
'';
20
})