diff options
author | aszlig <aszlig@nix.build> | 2018-03-06 01:03:59 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-03-06 04:25:53 +0100 |
commit | 7f26c1b7fbd525f6b998fcde510e69278fd8e6f7 (patch) | |
tree | 3785ed21e96140994a8ae081d7a31a0d69fb21e8 /nixos/tests | |
parent | 527eb35039971416d49fd4d269c6dab22e27ded7 (diff) |
nixos/tests/keymap: Remove OCR-friendly SLiM theme
The test doesn't use OCR, so we actually don't need an OCR-friendly theme here. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/keymap.nix | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/nixos/tests/keymap.nix b/nixos/tests/keymap.nix index eec674e227dff..caa5f7107c23a 100644 --- a/nixos/tests/keymap.nix +++ b/nixos/tests/keymap.nix @@ -50,38 +50,7 @@ let machine.i18n.consoleKeyMap = mkOverride 900 layout; machine.services.xserver.layout = mkOverride 900 layout; machine.imports = [ ./common/x11.nix extraConfig ]; - machine.services.xserver.displayManager.slim = { - enable = true; - - # Use a custom theme in order to get best OCR results - theme = pkgs.runCommand "slim-theme-ocr" { - nativeBuildInputs = [ pkgs.imagemagick ]; - } '' - mkdir "$out" - convert -size 1x1 xc:white "$out/background.jpg" - convert -size 200x100 xc:white "$out/panel.jpg" - cat > "$out/slim.theme" <<EOF - background_color #ffffff - background_style tile - - input_fgcolor #000000 - msg_color #000000 - - session_color #000000 - session_font Verdana:size=16:bold - - username_msg Username: - username_font Verdana:size=16:bold - username_color #000000 - username_x 50% - username_y 40% - - password_msg Password: - password_x 50% - password_y 40% - EOF - ''; - }; + machine.services.xserver.displayManager.slim.enable = true; testScript = '' sub waitCatAndDelete ($) { |