at master 561 B view raw
1{ pkgs, ... }: 2{ 3 name = "vengi-tools"; 4 meta = with pkgs.lib.maintainers; { 5 maintainers = [ fgaz ]; 6 }; 7 8 nodes.machine = 9 { config, pkgs, ... }: 10 { 11 imports = [ 12 ./common/x11.nix 13 ]; 14 15 services.xserver.enable = true; 16 environment.systemPackages = [ pkgs.vengi-tools ]; 17 }; 18 19 enableOCR = true; 20 21 testScript = '' 22 machine.wait_for_x() 23 machine.execute("vengi-voxedit >&2 &") 24 machine.wait_for_window("voxedit") 25 # Let the window load fully 26 machine.sleep(15) 27 machine.screenshot("screen") 28 ''; 29}