infrastructure/config/users/kat/sound.nix
2021-03-02 22:32:02 +00:00

14 lines
354 B
Nix

{ config, lib, pkgs, ... }:
{
config = lib.mkIf (lib.elem "desktop" config.meta.deploy.profiles) {
sound.extraConfig = ''
defaults.pcm.rate_converter "speexrate_best"
'';
hardware.pulseaudio.daemon.config = {
default-sample-format = "s24le";
default-sample-rate = 96000;
resample-method = "soxr-vhq";
};
};
}