From 9ef5b7d793a0ac1f1742696b5ec668169ff9c80d Mon Sep 17 00:00:00 2001 From: r-vdp Date: Mon, 3 Jul 2023 19:59:16 +0200 Subject: [PATCH] nixos/x11: change the description of the display manager service Currently systemd prints `Starting X11 Server` in the journal, which completely misled me into searching why my wayland system was starting an X server. Turns out that what is started is actually the display manager, so I think it's better to call it like that in the description. --- nixos/modules/services/x11/xserver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix index 6d2321be8ef7..53d9c99b47d0 100644 --- a/nixos/modules/services/x11/xserver.nix +++ b/nixos/modules/services/x11/xserver.nix @@ -725,7 +725,7 @@ in systemd.defaultUnit = mkIf cfg.autorun "graphical.target"; systemd.services.display-manager = - { description = "X11 Server"; + { description = "Display Manager"; after = [ "acpid.service" "systemd-logind.service" "systemd-user-sessions.service" ];