sddm use wayland

This commit is contained in:
陈浩南 2023-07-15 09:30:18 +08:00
parent cf09455fba
commit 10fecc5ab9

View File

@ -5,13 +5,22 @@ inputs:
services.xserver =
{
enable = true;
displayManager.sddm.enable = true;
displayManager.sddm =
{
enable = true;
settings.General =
{
DisplayServer = "wayland";
GreeterEnvironment = "QT_WAYLAND_SHELL_INTEGRATION=layer-shell";
CompositorCommand = "weston";
};
};
desktopManager.plasma5.enable = true;
};
environment =
{
sessionVariables."GTK_USE_PORTAL" = "1";
systemPackages = [ inputs.pkgs.libsForQt5.qtstyleplugin-kvantum ];
systemPackages = [ inputs.pkgs.libsForQt5.qtstyleplugin-kvantum inputs.pkgs.weston ];
};
xdg.portal.extraPortals = with inputs.pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-wlr ];
programs.xwayland.enable = true;