at master 394 B view raw
1{ lib, ... }: 2 3{ 4 name = "fluidd"; 5 meta.maintainers = with lib.maintainers; [ vtuan10 ]; 6 7 nodes.machine = 8 { pkgs, ... }: 9 { 10 services.fluidd = { 11 enable = true; 12 }; 13 }; 14 15 testScript = '' 16 machine.start() 17 machine.wait_for_unit("nginx.service") 18 machine.wait_for_open_port(80) 19 machine.succeed("curl -sSfL http://localhost/ | grep 'fluidd'") 20 ''; 21}