about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2020-01-10 12:26:17 +0100
committerMichael Weiss <dev.primeos@gmail.com>2020-01-22 21:38:01 +0100
commite99b32d27f611ef8674437db8e9ba6654c161465 (patch)
treec44077fe2a26e65d5d7a41e932a7190a76a1d0c9 /nixos
parentbeca0911f429d6182109c3bcd5f5917da5f21457 (diff)
downloadnixlib-e99b32d27f611ef8674437db8e9ba6654c161465.tar
nixlib-e99b32d27f611ef8674437db8e9ba6654c161465.tar.gz
nixlib-e99b32d27f611ef8674437db8e9ba6654c161465.tar.bz2
nixlib-e99b32d27f611ef8674437db8e9ba6654c161465.tar.lz
nixlib-e99b32d27f611ef8674437db8e9ba6654c161465.tar.xz
nixlib-e99b32d27f611ef8674437db8e9ba6654c161465.tar.zst
nixlib-e99b32d27f611ef8674437db8e9ba6654c161465.zip
nixos/sway: Install the new default terminal emulator
The default changed in Sway 1.3 from rxvt_unicode to alacritty. For
backward compatibility we'll install both terminal emulators by default.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/sway.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/programs/sway.nix b/nixos/modules/programs/sway.nix
index 33e252be45f8..7e646f8737d6 100644
--- a/nixos/modules/programs/sway.nix
+++ b/nixos/modules/programs/sway.nix
@@ -87,7 +87,8 @@ in {
       type = with types; listOf package;
       default = with pkgs; [
         swaylock swayidle
-        xwayland rxvt_unicode dmenu
+        xwayland alacritty dmenu
+        rxvt_unicode # For backward compatibility (old default terminal)
       ];
       defaultText = literalExample ''
         with pkgs; [ swaylock swayidle xwayland rxvt_unicode dmenu ];