1 import ./make-test-python.nix ({ ... }: {
5 services.coturn.enable = true;
8 boot.postBootCommands = ''
9 echo "some-very-secret-string" > /run/coturn-secret
13 static-auth-secret-file = "/run/coturn-secret";
22 with subtest("by default works without configuration"):
23 default.wait_for_unit("coturn.service")
25 with subtest("works with static-auth-secret-file"):
26 secretsfile.wait_for_unit("coturn.service")
27 secretsfile.succeed("grep 'some-very-secret-string' /run/coturn/turnserver.cfg")