summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/lightdm.nix
diff options
context:
space:
mode:
authorMitsuhiro Nakamura <m.nacamura@gmail.com>2018-08-16 17:56:44 +0900
committerMitsuhiro Nakamura <m.nacamura@gmail.com>2018-08-16 21:52:25 +0900
commit7fbdd7fcf4242f406182c4b2671f25e1d2c86397 (patch)
treedeb445c675a50f597cf0510506b4332c0f7c627a /nixos/modules/services/x11/display-managers/lightdm.nix
parent6c84945099a9dd82d252e7b57f3fc3a8fbffd11e (diff)
downloadnixpkgs-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar
nixpkgs-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar.gz
nixpkgs-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar.bz2
nixpkgs-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar.lz
nixpkgs-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar.xz
nixpkgs-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar.zst
nixpkgs-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.zip
lightdm: enable the accounts daemon to find dbus interface
Diffstat (limited to 'nixos/modules/services/x11/display-managers/lightdm.nix')
-rw-r--r--nixos/modules/services/x11/display-managers/lightdm.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/display-managers/lightdm.nix b/nixos/modules/services/x11/display-managers/lightdm.nix
index 06f017e9bf4..dc82f7086c8 100644
--- a/nixos/modules/services/x11/display-managers/lightdm.nix
+++ b/nixos/modules/services/x11/display-managers/lightdm.nix
@@ -212,6 +212,9 @@ in
     # lightdm uses the accounts daemon to remember language/window-manager per user
     services.accounts-daemon.enable = true;
 
+    # Enable the accounts daemon to find lightdm's dbus interface
+    environment.systemPackages = [ lightdm ];
+
     security.pam.services.lightdm = {
       allowNullPassword = true;
       startSession = true;