Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
nixos/pantheon: add warning when not using LightDM
Browse files Browse the repository at this point in the history
  • Loading branch information
worldofpeace committed Apr 7, 2019
1 parent d3d5c67 commit 8f93650
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nixos/modules/services/x11/desktop-managers/pantheon.nix
Expand Up @@ -73,6 +73,12 @@ in

# Ensure lightdm is used when Pantheon is enabled
# Without it screen locking will be nonfunctional because of the use of lightlocker

warnings = optional (config.services.xserver.displayManager.lightdm.enable != true)
''
Using Pantheon without LightDM as a displayManager will break screenlocking from the UI.
'';

services.xserver.displayManager.lightdm.enable = mkDefault true;
services.xserver.displayManager.lightdm.greeters.gtk.enable = mkDefault true;

Expand Down

0 comments on commit 8f93650

Please sign in to comment.