diff options
author | Elyhaka <57923898+Elyhaka@users.noreply.github.com> | 2020-01-05 14:43:39 +0100 |
---|---|---|
committer | Elyhaka <57923898+Elyhaka@users.noreply.github.com> | 2020-01-18 10:56:11 +0100 |
commit | d18ac2bca18eb0b3f77511f74f192453c7184b67 (patch) | |
tree | 4b48c6ade667cec51e8ce22f58770264d6107253 /nixos/modules/services/x11/display-managers | |
parent | c438ce12a858f24c1a2479213eaab751da45fa50 (diff) |
gdm: refactor to properly handle wayland sessions
Diffstat (limited to 'nixos/modules/services/x11/display-managers')
-rw-r--r-- | nixos/modules/services/x11/display-managers/gdm.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix index 2f8c8cc90137..325023f4121a 100644 --- a/nixos/modules/services/x11/display-managers/gdm.nix +++ b/nixos/modules/services/x11/display-managers/gdm.nix @@ -174,6 +174,10 @@ in "f /run/gdm/.config/gnome-initial-setup-done 0711 gdm gdm - yes" ]; + # Otherwise GDM will not be able to start correctly and display Wayland sessions + systemd.packages = with pkgs.gnome3; [ gnome-session gnome-shell ]; + environment.systemPackages = [ pkgs.gnome3.adwaita-icon-theme ]; + systemd.services.display-manager.wants = [ # Because sd_login_monitor_new requires /run/systemd/machines "systemd-machined.service" |