summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/gdm.nix
diff options
context:
space:
mode:
authorAlexander Ried <ried@mytum.de>2016-10-03 17:11:24 +0200
committerAlexander Ried <ried@mytum.de>2016-10-15 20:32:14 +0200
commit56d24b8e1dbba112288308268a384c1e7f363027 (patch)
tree4b81d6b8e2975a39019265ce88c93bdca4889ade /nixos/modules/services/x11/display-managers/gdm.nix
parenta5aa9269027d638b80fe1f23bcf8887ca80d034b (diff)
downloadnixpkgs-56d24b8e1dbba112288308268a384c1e7f363027.tar
nixpkgs-56d24b8e1dbba112288308268a384c1e7f363027.tar.gz
nixpkgs-56d24b8e1dbba112288308268a384c1e7f363027.tar.bz2
nixpkgs-56d24b8e1dbba112288308268a384c1e7f363027.tar.lz
nixpkgs-56d24b8e1dbba112288308268a384c1e7f363027.tar.xz
nixpkgs-56d24b8e1dbba112288308268a384c1e7f363027.tar.zst
nixpkgs-56d24b8e1dbba112288308268a384c1e7f363027.zip
gdm module: enable user dbus session
Diffstat (limited to 'nixos/modules/services/x11/display-managers/gdm.nix')
-rw-r--r--nixos/modules/services/x11/display-managers/gdm.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix
index 8ae5a096bcb..d3aa63fd428 100644
--- a/nixos/modules/services/x11/display-managers/gdm.nix
+++ b/nixos/modules/services/x11/display-managers/gdm.nix
@@ -111,6 +111,8 @@ in
 
     services.dbus.packages = [ gdm ];
 
+    systemd.user.services.dbus.wantedBy = [ "default.target" ];
+
     programs.dconf.profiles.gdm = "${gdm}/share/dconf/profile/gdm";
 
     # Use AutomaticLogin if delay is zero, because it's immediate.