From 3ad74e3997cbd4c5d74ca7d5a2b809d5588e551a Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sun, 29 Mar 2020 13:59:41 -0400 Subject: [PATCH] nixos/display-managers: don't start pulseaudio Hey, we have sockets. --- nixos/modules/services/x11/display-managers/default.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nixos/modules/services/x11/display-managers/default.nix b/nixos/modules/services/x11/display-managers/default.nix index 428ca191fd8f..2a7a19e7695a 100644 --- a/nixos/modules/services/x11/display-managers/default.nix +++ b/nixos/modules/services/x11/display-managers/default.nix @@ -54,14 +54,6 @@ let exec &> >(tee ~/.xsession-errors) ''} - # Start PulseAudio if enabled. - ${optionalString (config.hardware.pulseaudio.enable) '' - # Publish access credentials in the root window. - if ${config.hardware.pulseaudio.package.out}/bin/pulseaudio --dump-modules | grep module-x11-publish &> /dev/null; then - ${config.hardware.pulseaudio.package.out}/bin/pactl load-module module-x11-publish "display=$DISPLAY" - fi - ''} - # Tell systemd about our $DISPLAY and $XAUTHORITY. # This is needed by the ssh-agent unit. #