pulseaudio service: fix service path

This commit is contained in:
Nikolay Amiantov 2016-04-27 15:46:37 +03:00
parent 2f6c2ecd47
commit c5fcab987b

View File

@ -134,7 +134,7 @@ in {
} }
(mkIf cfg.enable { (mkIf cfg.enable {
environment.systemPackages = [ cfg.package.out ]; environment.systemPackages = [ cfg.package ];
environment.etc = singleton { environment.etc = singleton {
target = "asound.conf"; target = "asound.conf";
@ -158,7 +158,7 @@ in {
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
serviceConfig = { serviceConfig = {
Type = "notify"; Type = "notify";
ExecStart = "${cfg.package}/bin/pulseaudio --daemonize=no"; ExecStart = "${cfg.package.out}/bin/pulseaudio --daemonize=no";
Restart = "on-failure"; Restart = "on-failure";
}; };
}; };