Merge pull request #133642 from NixOS/backport-133304-to-release-21.05

[Backport release-21.05] nixos/gdm: disable the gdm services as it is redundant
This commit is contained in:
Artturi 2021-08-13 00:31:57 +03:00 committed by GitHub
commit 63eb5399c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"