Files
nixpkgs/nixos/tests/deconz.nix
Leona Maroni cf54549660 treewide: remove in-tree usages of nixpkgs.config.allowUnfree
In multiple NixOS tests, nixpkgs.config.allowUnfree or
nixpkgs.config.allowUnfreePredicate was set. This leads to Hydra building and
redistributing packages with a unfree license. This is a quite huge legal
problem. This changes removes these use cases.
2025-11-10 16:46:19 +01:00

30 lines
472 B
Nix

{ lib, ... }:
let
httpPort = 800;
in
{
name = "deconz";
meta.maintainers = with lib.maintainers; [
bjornfor
];
node.pkgsReadOnly = false;
nodes.machine = {
services.deconz = {
enable = true;
inherit httpPort;
extraArgs = [
"--dbg-err=2"
"--dbg-info=2"
];
};
};
testScript = ''
machine.wait_for_unit("deconz.service")
machine.succeed("curl -sfL http://localhost:${toString httpPort}")
'';
}