blob: 0505b67f1a9ebff2e23c05bcc6fc729a3cb7e005 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
import <nixpkgs/nixos/tests/make-test.nix> ({ pkgs, ... }: {
name = "i3";
machine = { lib, ... }: {
imports = [
../common.nix
<nixpkgs/nixos/tests/common/x11.nix>
];
services.xserver.windowManager.default = lib.mkForce "i3";
/* XXX */
fonts = {
enableCoreFonts = true;
enableFontDir = true;
enableGhostscriptFonts = true;
fonts = [
pkgs.dosemu_fonts
pkgs.liberation_ttf
];
};
/* !XXX */
vuizvui = {
i3.enable = true;
};
};
testScript = { nodes, ... }: ''
$machine->waitForX;
$machine->sleep(20);
$machine->screenshot("i3");
'';
})
|