nixos/modules/kde.nix

30 lines
673 B
Nix
Raw Normal View History

2023-06-24 23:00:02 +08:00
inputs:
2023-06-09 20:54:03 +08:00
{
config =
{
services.xserver =
{
enable = true;
2023-07-15 09:30:18 +08:00
displayManager.sddm =
{
enable = true;
settings.General =
{
DisplayServer = "wayland";
GreeterEnvironment = "QT_WAYLAND_SHELL_INTEGRATION=layer-shell";
CompositorCommand = "weston";
};
};
2023-06-09 20:54:03 +08:00
desktopManager.plasma5.enable = true;
};
environment =
{
sessionVariables."GTK_USE_PORTAL" = "1";
2023-07-15 09:30:18 +08:00
systemPackages = [ inputs.pkgs.libsForQt5.qtstyleplugin-kvantum inputs.pkgs.weston ];
2023-06-09 20:54:03 +08:00
};
xdg.portal.extraPortals = with inputs.pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-wlr ];
programs.xwayland.enable = true;
2023-06-20 21:05:42 +08:00
programs.kdeconnect.enable = true;
2023-06-09 20:54:03 +08:00
};
}