diff options
Diffstat (limited to 'hosts/common/optional/pipewire.nix')
-rw-r--r-- | hosts/common/optional/pipewire.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/common/optional/pipewire.nix b/hosts/common/optional/pipewire.nix index 99af36c..cf267d4 100644 --- a/hosts/common/optional/pipewire.nix +++ b/hosts/common/optional/pipewire.nix @@ -11,6 +11,13 @@ hardware.pulseaudio.enable = false; + security.pam.loginLimits = [ + { domain = "@audio"; item = "memlock"; type = "-" ; value = "unlimited"; } + { domain = "@audio"; item = "rtprio" ; type = "-" ; value = "99" ; } + { domain = "@audio"; item = "nofile" ; type = "soft"; value = "99999" ; } + { domain = "@audio"; item = "nofile" ; type = "hard"; value = "524288" ; } + ]; + security.rtkit.enable = true; services.pipewire = { |