15 lines
379 B
Nix
15 lines
379 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
# Enable SDDM.
|
|
services.xserver.displayManager.sddm.enable = true;
|
|
|
|
/*
|
|
Sddm has a very annoying bug where it sometimes hangs at shutdown
|
|
if you use Plasma's wayland session. The bug is already fixed upstream,
|
|
but until it sddm gets updated on the repos this will do
|
|
*/
|
|
systemd.services.display-manager.serviceConfig = {
|
|
TimeoutStopSec = "5s";
|
|
};
|
|
}
|