1 import ./make-test-python.nix ({ lib, ... }:
5 meta.maintainers = with lib.maintainers; [ fab ];
8 services.libreddit.enable = true;
9 # Test CAP_NET_BIND_SERVICE
10 services.libreddit.port = 80;
14 machine.wait_for_unit("libreddit.service")
15 machine.wait_for_open_port(80)
16 # Query a page that does not require Internet access
17 machine.succeed("curl --fail http://localhost:80/settings")