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