From 82ed78a9ee81eada31b619ebcdbb248daa123b9a Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 21 May 2026 03:00:07 +0200 Subject: [PATCH] nixos/gdm: add warning for Pulseaudio + gdm We plan to use systemd-userdbd for NixOS 26.11, which will dynamically allocate greeter users + their homes, which would break the current PA config. GNOME already depends on PipeWire in other places, so there's little reason to keep this around. --- nixos/modules/services/display-managers/gdm.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/display-managers/gdm.nix b/nixos/modules/services/display-managers/gdm.nix index 8013fbde9031..dd043cbf272a 100644 --- a/nixos/modules/services/display-managers/gdm.nix +++ b/nixos/modules/services/display-managers/gdm.nix @@ -200,6 +200,8 @@ in config = lib.mkIf cfg.enable { + warnings = lib.optional config.services.pulseaudio.enable "Support for Pulseaudio + gdm will be removed in NixOS 26.11"; + services.xserver.displayManager.lightdm.enable = false; users.users = lib.mkMerge [