Merge pull request #93431 from sorki/audio/pulseJack

nixos/jack,pulseaudio: fix pulse connection to jackd service
This commit is contained in:
WORLDofPEACE
2020-11-09 19:40:12 -05:00
committed by GitHub
2 changed files with 10 additions and 1 deletions
+3
View File
@@ -246,6 +246,9 @@ in {
description = "JACK Audio Connection Kit";
serviceConfig = {
User = "jackaudio";
SupplementaryGroups = lib.optional
(config.hardware.pulseaudio.enable
&& !config.hardware.pulseaudio.systemWide) "users";
ExecStart = "${cfg.jackd.package}/bin/jackd ${lib.escapeShellArgs cfg.jackd.extraOptions}";
LimitRTPRIO = 99;
LimitMEMLOCK = "infinity";