summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-08 11:51:10 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-13 20:18:56 +0200
commit8db97583ae35fbefbdfced150ea86289b66ffc7b (patch)
tree5c428412a128f511de0604372b69c13c0b1e9527 /nixos/modules/services/x11/display-managers
parente0ed398346bbd84e42931df7fd88a3b2427c0049 (diff)
downloadnixlib-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar
nixlib-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar.gz
nixlib-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar.bz2
nixlib-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar.lz
nixlib-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar.xz
nixlib-8db97583ae35fbefbdfced150ea86289b66ffc7b.tar.zst
nixlib-8db97583ae35fbefbdfced150ea86289b66ffc7b.zip
pulseaudio: split the "dev" output
This is meant mainly for the `libpulseaudio` attribute.
Diffstat (limited to 'nixos/modules/services/x11/display-managers')
-rw-r--r--nixos/modules/services/x11/display-managers/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/x11/display-managers/default.nix b/nixos/modules/services/x11/display-managers/default.nix
index ca0832e5b0c8..997ab030af92 100644
--- a/nixos/modules/services/x11/display-managers/default.nix
+++ b/nixos/modules/services/x11/display-managers/default.nix
@@ -85,14 +85,14 @@ let
       # Start PulseAudio if enabled.
       ${optionalString (config.hardware.pulseaudio.enable) ''
         ${optionalString (!config.hardware.pulseaudio.systemWide)
-          "${config.hardware.pulseaudio.package}/bin/pulseaudio --start"
+          "${config.hardware.pulseaudio.package.out}/bin/pulseaudio --start"
         }
 
         # Publish access credentials in the root window.
-        ${config.hardware.pulseaudio.package}/bin/pactl load-module module-x11-publish "display=$DISPLAY"
+        ${config.hardware.pulseaudio.package.out}/bin/pactl load-module module-x11-publish "display=$DISPLAY"
 
         # Keep track of devices.  Mostly useful for Phonon/KDE.
-        ${config.hardware.pulseaudio.package}/bin/pactl load-module module-device-manager "do_routing=1"
+        ${config.hardware.pulseaudio.package.out}/bin/pactl load-module module-device-manager "do_routing=1"
       ''}
 
       # Tell systemd about our $DISPLAY. This is needed by the