summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/gdm.nix
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-04-30 18:15:28 +0200
committerJan Tojnar <jtojnar@gmail.com>2018-05-16 16:25:22 +0200
commit54135fc73350e03787b2496d3e39f7a520d20e09 (patch)
tree7ecbc5e915e1b3dd35c97cd808e9744844ec69b2 /nixos/modules/services/x11/display-managers/gdm.nix
parent3bfa8563d10e356f085f122d8982ccd13647ff02 (diff)
downloadnixpkgs-54135fc73350e03787b2496d3e39f7a520d20e09.tar
nixpkgs-54135fc73350e03787b2496d3e39f7a520d20e09.tar.gz
nixpkgs-54135fc73350e03787b2496d3e39f7a520d20e09.tar.bz2
nixpkgs-54135fc73350e03787b2496d3e39f7a520d20e09.tar.lz
nixpkgs-54135fc73350e03787b2496d3e39f7a520d20e09.tar.xz
nixpkgs-54135fc73350e03787b2496d3e39f7a520d20e09.tar.zst
nixpkgs-54135fc73350e03787b2496d3e39f7a520d20e09.zip
gnome3.gdm: allow choosing user account without GNOME
Account chooser depends on AccountsService, which is normally enabled by
GNOME module but it was missing when using GDM without GNOME.
Diffstat (limited to 'nixos/modules/services/x11/display-managers/gdm.nix')
-rw-r--r--nixos/modules/services/x11/display-managers/gdm.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix
index 70fc7388c2a..a6a38a21b61 100644
--- a/nixos/modules/services/x11/display-managers/gdm.nix
+++ b/nixos/modules/services/x11/display-managers/gdm.nix
@@ -135,6 +135,9 @@ in
 
     systemd.services.display-manager.path = [ pkgs.gnome3.gnome-session ];
 
+    # Allow choosing an user account
+    services.accounts-daemon.enable = true;
+
     services.dbus.packages = [ gdm ];
 
     systemd.user.services.dbus.wantedBy = [ "default.target" ];