My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/nixos/tests/mxisd.nix

21 lines
481 B

import ./make-test-python.nix ({ pkgs, ... } : {
name = "mxisd";
meta = with pkgs.lib.maintainers; {
maintainers = [ mguentner ];
};
nodes = {
server = args : {
services.mxisd.enable = true;
services.mxisd.matrix.domain = "example.org";
};
};
testScript = ''
start_all()
server.wait_for_unit("mxisd.service")
server.wait_for_open_port(8090)
server.succeed("curl -Ssf 'http://127.0.0.1:8090/_matrix/identity/api/v1'")
'';
})