Revert "sddm use wayland"

This reverts commit 10fecc5ab9.
This commit is contained in:
陈浩南 2023-07-15 09:37:13 +08:00
parent 10fecc5ab9
commit c34a9d3d82

View File

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