diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-11-22 17:17:08 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-11-23 08:42:51 +1000 |
commit | bbcbaeb54d1d08783771f886e04cf8e8afc82651 (patch) | |
tree | fbdf50889c48574c955a7ac2726f7e158bd93f04 | |
parent | e87f0c33df2a13c537379520583b4042b81bc5a7 (diff) | |
download | nixpkgs-bbcbaeb54d1d08783771f886e04cf8e8afc82651.tar nixpkgs-bbcbaeb54d1d08783771f886e04cf8e8afc82651.tar.gz nixpkgs-bbcbaeb54d1d08783771f886e04cf8e8afc82651.tar.bz2 nixpkgs-bbcbaeb54d1d08783771f886e04cf8e8afc82651.tar.lz nixpkgs-bbcbaeb54d1d08783771f886e04cf8e8afc82651.tar.xz nixpkgs-bbcbaeb54d1d08783771f886e04cf8e8afc82651.tar.zst nixpkgs-bbcbaeb54d1d08783771f886e04cf8e8afc82651.zip |
nixos/tests/fctix: remove trailing whitespace
-rw-r--r-- | nixos/tests/fcitx/default.nix | 28 |
1 files 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) |