3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/tests/yabar.nix

26 lines
450 B
Nix
Raw Normal View History

2018-08-10 13:26:03 +01:00
import ./make-test.nix ({ pkgs, lib, ... }:
with lib;
{
name = "yabar";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ ma27 ];
};
nodes.yabar = {
imports = [ ./common/x11.nix ./common/user-account.nix ];
services.xserver.displayManager.auto.user = "bob";
programs.yabar.enable = true;
};
testScript = ''
$yabar->start;
$yabar->waitForX;
$yabar->waitForUnit("yabar.service", "bob");
'';
})