add some rt stuff

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-09 12:22:14 +01:00
parent 942daa9933
commit 61ce2cdffc
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -4,9 +4,18 @@
pulse.enable = true;
jack.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
};
security.rtkit.enable = true;
hardware.pulseaudio.enable = false;
xdg.portal = {
enable = true;
wlr.enable = true;
};
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 = "99999"; }
];
}