use stable sway because of dri issue

This commit is contained in:
Artemis Tosini 2022-03-29 23:03:38 +00:00
parent a99ed706b2
commit ae9f20c16f
Signed by: artemist
GPG key ID: EE5227935FE3FF18

View file

@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, lib, config, inputs, ... }: { pkgs, lib, config, inputs, ... }:
let let
rustybar = inputs.rustybar.defaultPackage."${pkgs.system}"; rustybar = inputs.rustybar.defaultPackage."${pkgs.system}";
cfg = config.wayland.windowManager.sway; cfg = config.wayland.windowManager.sway;
@ -34,15 +34,12 @@ in
{ {
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
package = pkgs-unstable.sway.override { wrapperFeatures.gtk = true;
withBaseWrapper = true;
withGtkWrapper = true;
extraSessionCommands = '' extraSessionCommands = ''
export MOZ_USE_XINPUT2=1 export MOZ_USE_XINPUT2=1
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
export GTK_THEME=Adwaita-dark export GTK_THEME=Adwaita-dark
''; '';
};
config = { config = {
modifier = "Mod4"; modifier = "Mod4";
terminal = "alacritty"; terminal = "alacritty";