From bbcbaeb54d1d08783771f886e04cf8e8afc82651 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 22 Nov 2020 17:17:08 +1000 Subject: [PATCH] nixos/tests/fctix: remove trailing whitespace --- nixos/tests/fcitx/default.nix | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/nixos/tests/fcitx/default.nix b/nixos/tests/fcitx/default.nix index d28a5801f97..cbeb95d33b0 100644 --- a/nixos/tests/fcitx/default.nix +++ b/nixos/tests/fcitx/default.nix @@ -1,15 +1,15 @@ -import ../make-test-python.nix ( +import ../make-test-python.nix ( { pkgs, ... - }: + }: # copy_from_host works only for store paths rec { name = "fcitx"; - machine = - { - pkgs, - ... - }: + machine = + { + pkgs, + ... + }: { virtualisation.memorySize = 1024; @@ -19,11 +19,11 @@ import ../make-test-python.nix ( environment.systemPackages = [ # To avoid clashing with xfce4-terminal - pkgs.alacritty + pkgs.alacritty ]; - services.xserver = + services.xserver = { enable = true; @@ -37,7 +37,7 @@ import ../make-test-python.nix ( desktopManager.xfce.enable = true; }; - + i18n = { inputMethod = { enabled = "fcitx"; @@ -50,14 +50,14 @@ import ../make-test-python.nix ( } ; - testScript = { nodes, ... }: - let + testScript = { nodes, ... }: + let user = nodes.machine.config.users.users.alice; userName = user.name; userHome = user.home; xauth = "${userHome}/.Xauthority"; fcitx_confdir = "${userHome}/.config/fcitx"; - in + in '' # We need config files before login session # So copy first thing @@ -92,7 +92,7 @@ import ../make-test-python.nix ( machine.send_key("ctrl-alt-shift-u") machine.sleep(5) machine.sleep(1) - + ### Search for smiling face machine.send_chars("smil") machine.sleep(1)