From 0a785f6f426b3bf4e9cae68613c5e1c27bcd4191 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 5 Nov 2024 15:52:30 +0100 Subject: [PATCH] nixos/gdm: automatically enable services.displayManager --- nixos/modules/services/x11/display-managers/gdm.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix index c454b110776b..5ec06767f51b 100644 --- a/nixos/modules/services/x11/display-managers/gdm.nix +++ b/nixos/modules/services/x11/display-managers/gdm.nix @@ -147,6 +147,9 @@ in services.displayManager = { + # Enable desktop session data + enable = true; + environment = { GDM_X_SERVER_EXTRA_ARGS = toString (lib.filter (arg: arg != "-terminate") cfg.xserverArgs);