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
ahoy: init at 2.2.0 (#366784)
[NixPkgs.git]
/
nixos
/
tests
/
deconz.nix
blob
ceeabb6c261aacc369b83a7b90605e3abe12a8b8
1
import ./make-test-python.nix (
2
{ pkgs, lib, ... }:
3
let
4
httpPort = 800;
5
in
6
{
7
name = "deconz";
8
9
meta.maintainers = with lib.maintainers; [
10
bjornfor
11
];
12
13
nodes.machine =
14
{
15
config,
16
pkgs,
17
lib,
18
...
19
}:
20
{
21
nixpkgs.config.allowUnfree = true;
22
services.deconz = {
23
enable = true;
24
inherit httpPort;
25
extraArgs = [
26
"--dbg-err=2"
27
"--dbg-info=2"
28
];
29
};
30
};
31
32
testScript = ''
33
machine.wait_for_unit("deconz.service")
34
machine.succeed("curl -sfL http://localhost:${toString httpPort}")
35
'';
36
}
37
)