1{ lib, ... }: 2{ 3 name = "freshrss-none-auth"; 4 meta.maintainers = with lib.maintainers; [ mattchrist ]; 5 6 nodes.machine = { 7 services.freshrss = { 8 enable = true; 9 baseUrl = "http://localhost"; 10 authType = "none"; 11 }; 12 }; 13 14 testScript = '' 15 machine.wait_for_unit("multi-user.target") 16 machine.wait_for_open_port(80) 17 response = machine.succeed("curl -vvv -s http://localhost:80/i/") 18 assert '<title> · FreshRSS</title>' in response, "FreshRSS stream page didn't load successfully" 19 ''; 20}