Reformat pulse config

This commit is contained in:
Simon Bruder 2020-11-05 15:09:12 +01:00
parent 97883d14bf
commit 9a045ce323
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -2,15 +2,17 @@
{
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.pulseaudio.package = pkgs.pulseaudioFull;
hardware.pulseaudio.daemon.config = {
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
daemon.config = {
"default-sample-format" = "s16le";
"default-sample-rate" = "48000";
"alternate-sample-rate" = "44100";
"resample-method" = "soxr-hq";
"flat-volumes" = "no";
};
};
environment.systemPackages = with pkgs; [
pavucontrol