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";