36 lines
681 B
Nix
36 lines
681 B
Nix
{
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
extraConfig.pipewire = {
|
|
"98-crackling-fix" = {
|
|
"context.properties" = {
|
|
"default.clock.quantum" = 1024;
|
|
"default.clock.min-quantum" = 1024;
|
|
"default.clock.max-quantum" = 8192;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
security.pam.loginLimits = [
|
|
{
|
|
domain = "@users";
|
|
item = "rtprio";
|
|
type = "-";
|
|
value = "95";
|
|
}
|
|
{
|
|
domain = "@users";
|
|
item = "memlock";
|
|
type = "-";
|
|
value = "unlimited";
|
|
}
|
|
];
|
|
}
|