From a268b5a7a0d574189cda66be54575c93e35cba23 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Thu, 6 May 2021 15:37:31 +0200 Subject: [PATCH 1/2] nixos/sway: Stop installing rxvt-unicode by default This was done only for backward compatibility and is not required by the default configuration anymore. Unfortunately this might be a breaking change for some users. --- nixos/modules/programs/sway.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/modules/programs/sway.nix b/nixos/modules/programs/sway.nix index de0b234a6316ae..ce34e81267e656 100644 --- a/nixos/modules/programs/sway.nix +++ b/nixos/modules/programs/sway.nix @@ -91,10 +91,9 @@ in { type = with types; listOf package; default = with pkgs; [ swaylock swayidle alacritty dmenu - rxvt-unicode # For backward compatibility (old default terminal) ]; defaultText = literalExample '' - with pkgs; [ swaylock swayidle rxvt-unicode alacritty dmenu ]; + with pkgs; [ swaylock swayidle alacritty dmenu ]; ''; example = literalExample '' with pkgs; [ From dd9774638836b4849064cd3b4827bd776e097086 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Thu, 6 May 2021 15:53:04 +0200 Subject: [PATCH 2/2] nixos/sway: Update the extraPackages examples --- nixos/modules/programs/sway.nix | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/nixos/modules/programs/sway.nix b/nixos/modules/programs/sway.nix index ce34e81267e656..e999c66ecd276c 100644 --- a/nixos/modules/programs/sway.nix +++ b/nixos/modules/programs/sway.nix @@ -97,8 +97,24 @@ in { ''; example = literalExample '' with pkgs; [ - i3status i3status-rust - termite rofi light + # To run Qt5 applications natively on Wayland: + qt5.qtwayland + # Status bars: + i3status waybar + # Notification daemon: + mako + # Screenshots + grim slurp sway-contrib.grimshot + # dmenu replacements: + bemenu + # Redshift + gammastep wlsunset + # Alternative terminals: + foot + # Backlight management: + brightnessctl + # Clipboard: + wl-clipboard ] ''; description = ''