Home manager
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
{
|
||||
security.rtkit.enable = true;
|
||||
|
||||
# Pipewire
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
@@ -14,15 +13,28 @@
|
||||
};
|
||||
|
||||
services.pipewire.extraConfig.pipewire."92-low-latency" = {
|
||||
"context.properties" = {
|
||||
"default.clock.rate" = 48000;
|
||||
"default.clock.quantum" = 256;
|
||||
"default.clock.min-quantum" = 256;
|
||||
"default.clock.max-quantum" = 1024;
|
||||
};
|
||||
};
|
||||
"context.properties" = {
|
||||
"default.clock.rate" = 48000;
|
||||
"default.clock.quantum" = 1024;
|
||||
"default.clock.min-quantum" = 512;
|
||||
"default.clock.max-quantum" = 2048;
|
||||
};
|
||||
};
|
||||
|
||||
services.pipewire.wireplumber.extraConfig = {
|
||||
"monitor.alsa.rules" = [
|
||||
{
|
||||
matches = [ { "node.name" = "~alsa_output.*"; } ];
|
||||
actions = {
|
||||
update-props = {
|
||||
"session.suspend-timeout-seconds" = 0;
|
||||
"dither.method" = "rectangular";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# DeepFilterNet noise reduction filter chain
|
||||
services.pipewire.extraConfig.pipewire."99-deepfilter-source" = {
|
||||
"context.modules" = [
|
||||
{
|
||||
@@ -37,9 +49,7 @@
|
||||
name = "deepfilter";
|
||||
plugin = "${pkgs.deepfilternet}/lib/ladspa/libdeep_filter_ladspa.so";
|
||||
label = "deep_filter_mono";
|
||||
control = {
|
||||
"Attenuation Limit (dB)" = 100;
|
||||
};
|
||||
control = { "Attenuation Limit (dB)" = 100; };
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user