Sddm: work around a bug
This commit is contained in:
parent
879abfdf7d
commit
62bc8f9bee
3 changed files with 16 additions and 1 deletions
|
|
@ -3,5 +3,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./plasma.nix
|
./plasma.nix
|
||||||
|
./sddm.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ in
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable the Plasma 5 Desktop Environment.
|
# Enable the Plasma 5 Desktop Environment.
|
||||||
services.xserver.displayManager.sddm.enable = true;
|
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
services.xserver.desktopManager.plasma5.enable = true;
|
||||||
|
|
||||||
# GTK apps need dconf to grab the correct theme on Wayland
|
# GTK apps need dconf to grab the correct theme on Wayland
|
||||||
|
|
|
||||||
15
roles/kde/sddm.nix
Normal file
15
roles/kde/sddm.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{ 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";
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue