mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 07:08:45 +08:00
sddm use wayland
This commit is contained in:
parent
cf09455fba
commit
10fecc5ab9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user