From ae9f20c16f3c9689fbcf9b0fc083c49bc9ffbb36 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Tue, 29 Mar 2022 23:03:38 +0000 Subject: [PATCH] use stable sway because of dri issue --- home/sway.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/home/sway.nix b/home/sway.nix index 2b4b15a..4bfef00 100644 --- a/home/sway.nix +++ b/home/sway.nix @@ -1,4 +1,4 @@ -{ pkgs, pkgs-unstable, lib, config, inputs, ... }: +{ pkgs, lib, config, inputs, ... }: let rustybar = inputs.rustybar.defaultPackage."${pkgs.system}"; cfg = config.wayland.windowManager.sway; @@ -34,15 +34,12 @@ in { wayland.windowManager.sway = { enable = true; - package = pkgs-unstable.sway.override { - withBaseWrapper = true; - withGtkWrapper = true; - extraSessionCommands = '' - export MOZ_USE_XINPUT2=1 - export _JAVA_AWT_WM_NONREPARENTING=1 - export GTK_THEME=Adwaita-dark - ''; - }; + wrapperFeatures.gtk = true; + extraSessionCommands = '' + export MOZ_USE_XINPUT2=1 + export _JAVA_AWT_WM_NONREPARENTING=1 + export GTK_THEME=Adwaita-dark + ''; config = { modifier = "Mod4"; terminal = "alacritty";