about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorgnidorah <gnidorah@users.noreply.github.com>2017-10-25 22:29:27 +0300
committerJoerg Thalheim <joerg@thalheim.io>2017-10-25 20:53:44 +0100
commit130c61f8f2cd84de7eb5dc20316eee42e4d1d7f7 (patch)
treeedfea9939534d0cf06b90fd5a48bb8fb47cd54e4 /nixos/modules/programs
parent6a2dc553373629df14bead9938328036fe3e2bef (diff)
downloadnixlib-130c61f8f2cd84de7eb5dc20316eee42e4d1d7f7.tar
nixlib-130c61f8f2cd84de7eb5dc20316eee42e4d1d7f7.tar.gz
nixlib-130c61f8f2cd84de7eb5dc20316eee42e4d1d7f7.tar.bz2
nixlib-130c61f8f2cd84de7eb5dc20316eee42e4d1d7f7.tar.lz
nixlib-130c61f8f2cd84de7eb5dc20316eee42e4d1d7f7.tar.xz
nixlib-130c61f8f2cd84de7eb5dc20316eee42e4d1d7f7.tar.zst
nixlib-130c61f8f2cd84de7eb5dc20316eee42e4d1d7f7.zip
sway module: better defaults
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/sway.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/nixos/modules/programs/sway.nix b/nixos/modules/programs/sway.nix
index 3591893ff3cc..2934fba96dda 100644
--- a/nixos/modules/programs/sway.nix
+++ b/nixos/modules/programs/sway.nix
@@ -25,10 +25,9 @@ in
       default     = "";
       type        = types.lines;
       example = ''
-        export XKB_DEFAULT_LAYOUT=us,ru
+        export XKB_DEFAULT_LAYOUT=us,de
+        export XKB_DEFAULT_VARIANT=,nodeadkeys
         export XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle,
-        export QT_QPA_PLATFORM=wayland
-        export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
       '';
       description = ''
         Shell commands executed just before sway is started.
@@ -37,13 +36,12 @@ in
 
     extraPackages = mkOption {
       type = with types; listOf package;
-      default = with pkgs; [ ];
+      default = with pkgs; [
+        i3status xwayland rxvt_unicode dmenu
+      ];
       example = literalExample ''
         with pkgs; [
-          i3status
-          xwayland j4-dmenu-desktop dunst
-          qt5.qtwayland
-          imagemagick
+          i3status xwayland rxvt_unicode dmenu
         ]
       '';
       description = ''