diff options
author | Edmund Wu <fangkazuto@gmail.com> | 2018-08-10 12:43:47 -0400 |
---|---|---|
committer | Edmund Wu <fangkazuto@gmail.com> | 2018-08-10 12:43:47 -0400 |
commit | ced374cf98935f6410ed124a9bed114731c23b9e (patch) | |
tree | e465e54b50aa9ecb1dc0a0b9e73da2864c7f45a2 /nixos/modules | |
parent | 285580c0262dae87fe26fc28303b52d6b46f549b (diff) | |
download | nixlib-ced374cf98935f6410ed124a9bed114731c23b9e.tar nixlib-ced374cf98935f6410ed124a9bed114731c23b9e.tar.gz nixlib-ced374cf98935f6410ed124a9bed114731c23b9e.tar.bz2 nixlib-ced374cf98935f6410ed124a9bed114731c23b9e.tar.lz nixlib-ced374cf98935f6410ed124a9bed114731c23b9e.tar.xz nixlib-ced374cf98935f6410ed124a9bed114731c23b9e.tar.zst nixlib-ced374cf98935f6410ed124a9bed114731c23b9e.zip |
display-managers: rely on socket to activate pulseaudio
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/x11/display-managers/default.nix | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/services/x11/display-managers/default.nix b/nixos/modules/services/x11/display-managers/default.nix index 78095e7ce0b0..66886f23737d 100644 --- a/nixos/modules/services/x11/display-managers/default.nix +++ b/nixos/modules/services/x11/display-managers/default.nix @@ -56,10 +56,6 @@ let # Start PulseAudio if enabled. ${optionalString (config.hardware.pulseaudio.enable) '' - ${optionalString (!config.hardware.pulseaudio.systemWide) - "${config.hardware.pulseaudio.package.out}/bin/pulseaudio --start" - } - # 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" |