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; sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio = {
hardware.pulseaudio.package = pkgs.pulseaudioFull; enable = true;
hardware.pulseaudio.daemon.config = { package = pkgs.pulseaudioFull;
daemon.config = {
"default-sample-format" = "s16le"; "default-sample-format" = "s16le";
"default-sample-rate" = "48000"; "default-sample-rate" = "48000";
"alternate-sample-rate" = "44100"; "alternate-sample-rate" = "44100";
"resample-method" = "soxr-hq"; "resample-method" = "soxr-hq";
"flat-volumes" = "no"; "flat-volumes" = "no";
}; };
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
pavucontrol pavucontrol