diff options
author | Mitsuhiro Nakamura <m.nacamura@gmail.com> | 2018-08-16 17:56:44 +0900 |
---|---|---|
committer | Mitsuhiro Nakamura <m.nacamura@gmail.com> | 2018-08-16 21:52:25 +0900 |
commit | 7fbdd7fcf4242f406182c4b2671f25e1d2c86397 (patch) | |
tree | deb445c675a50f597cf0510506b4332c0f7c627a /nixos/modules/services/x11/display-managers/lightdm.nix | |
parent | 6c84945099a9dd82d252e7b57f3fc3a8fbffd11e (diff) | |
download | nixlib-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar nixlib-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar.gz nixlib-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar.bz2 nixlib-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar.lz nixlib-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar.xz nixlib-7fbdd7fcf4242f406182c4b2671f25e1d2c86397.tar.zst nixlib-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.nix | 3 |
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 06f017e9bf47..dc82f7086c82 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; |