Wayland is ready for desktop

This commit is contained in:
Alexander Bantyev 2021-03-11 03:35:59 +03:00
parent 1ef72d2590
commit 8dd92acdf4
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -18,12 +18,15 @@ in {
programs.sway.wrapperFeatures.gtk = true; programs.sway.wrapperFeatures.gtk = true;
programs.sway.extraPackages = lib.mkForce (with pkgs; [ swayidle xwayland ]); programs.sway.extraPackages = lib.mkForce (with pkgs; [ swayidle ]);
programs.xwayland.enable = false;
users.users.balsoft.extraGroups = [ "sway" ]; users.users.balsoft.extraGroups = [ "sway" ];
home-manager.users.balsoft.wayland.windowManager.sway = { home-manager.users.balsoft.wayland.windowManager.sway = {
enable = true; enable = true;
xwayland = false;
config = rec { config = rec {
assigns = { assigns = {
"" = [ "" = [
@ -238,6 +241,7 @@ in {
mouse_warping container mouse_warping container
hide_edge_borders --i3 smart hide_edge_borders --i3 smart
exec pkill swaynag exec pkill swaynag
xwayland disable
''; '';
}; };
} }