about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-03-29 13:59:41 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2020-03-29 13:59:41 -0400
commit3ad74e3997cbd4c5d74ca7d5a2b809d5588e551a (patch)
treee9e9c7e48c51ac12de675b5c215af84204c50c29 /nixos
parent56ec5a25774196473d3773e2a16a7f416b022098 (diff)
downloadnixlib-3ad74e3997cbd4c5d74ca7d5a2b809d5588e551a.tar
nixlib-3ad74e3997cbd4c5d74ca7d5a2b809d5588e551a.tar.gz
nixlib-3ad74e3997cbd4c5d74ca7d5a2b809d5588e551a.tar.bz2
nixlib-3ad74e3997cbd4c5d74ca7d5a2b809d5588e551a.tar.lz
nixlib-3ad74e3997cbd4c5d74ca7d5a2b809d5588e551a.tar.xz
nixlib-3ad74e3997cbd4c5d74ca7d5a2b809d5588e551a.tar.zst
nixlib-3ad74e3997cbd4c5d74ca7d5a2b809d5588e551a.zip
nixos/display-managers: don't start pulseaudio
Hey, we have sockets.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/display-managers/default.nix8
1 files changed, 0 insertions, 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.
       #