From 2fac4b6d00c8c0eae19a5fe79175ecb8b690d149 Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 10 Aug 2021 01:38:54 +0300 Subject: [PATCH] nixos/gdm: disable the gdm services as it is redundant and causes issues (cherry picked from commit 47f6591706dcfb699b0e0d9f09a5a10648198d40) --- nixos/modules/services/x11/display-managers/gdm.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix index e1b9a21eb9f..70441ab86c9 100644 --- a/nixos/modules/services/x11/display-managers/gdm.nix +++ b/nixos/modules/services/x11/display-managers/gdm.nix @@ -163,6 +163,11 @@ in systemd.packages = with pkgs.gnome; [ gdm gnome-session gnome-shell ]; environment.systemPackages = [ pkgs.gnome.adwaita-icon-theme ]; + # We dont use the upstream gdm service + # it has to be disabled since the gdm package has it + # https://github.com/NixOS/nixpkgs/issues/108672 + systemd.services.gdm.enable = false; + systemd.services.display-manager.wants = [ # Because sd_login_monitor_new requires /run/systemd/machines "systemd-machined.service"