mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 11:08:44 +08:00
sddm use wayland
This commit is contained in:
parent
cf09455fba
commit
10fecc5ab9
@ -5,13 +5,22 @@ inputs:
|
|||||||
services.xserver =
|
services.xserver =
|
||||||
{
|
{
|
||||||
enable = true;
|
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;
|
desktopManager.plasma5.enable = true;
|
||||||
};
|
};
|
||||||
environment =
|
environment =
|
||||||
{
|
{
|
||||||
sessionVariables."GTK_USE_PORTAL" = "1";
|
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 ];
|
xdg.portal.extraPortals = with inputs.pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-wlr ];
|
||||||
programs.xwayland.enable = true;
|
programs.xwayland.enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user