From c5fcab987b819aa2dcb1c5cec788cb5fb7106c6d Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 27 Apr 2016 15:46:37 +0300 Subject: [PATCH] pulseaudio service: fix service path --- nixos/modules/config/pulseaudio.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/config/pulseaudio.nix b/nixos/modules/config/pulseaudio.nix index 1654d31cfeb4..f2db428a4441 100644 --- a/nixos/modules/config/pulseaudio.nix +++ b/nixos/modules/config/pulseaudio.nix @@ -134,7 +134,7 @@ in { } (mkIf cfg.enable { - environment.systemPackages = [ cfg.package.out ]; + environment.systemPackages = [ cfg.package ]; environment.etc = singleton { target = "asound.conf"; @@ -158,7 +158,7 @@ in { wantedBy = [ "default.target" ]; serviceConfig = { Type = "notify"; - ExecStart = "${cfg.package}/bin/pulseaudio --daemonize=no"; + ExecStart = "${cfg.package.out}/bin/pulseaudio --daemonize=no"; Restart = "on-failure"; }; };