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,14 +2,16 @@
{ {
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;
"default-sample-format" = "s16le"; daemon.config = {
"default-sample-rate" = "48000"; "default-sample-format" = "s16le";
"alternate-sample-rate" = "44100"; "default-sample-rate" = "48000";
"resample-method" = "soxr-hq"; "alternate-sample-rate" = "44100";
"flat-volumes" = "no"; "resample-method" = "soxr-hq";
"flat-volumes" = "no";
};
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [