Reformat pulse config

restic-rest-server
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
1 changed files with 10 additions and 8 deletions

View File

@ -2,14 +2,16 @@
{
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.pulseaudio.package = pkgs.pulseaudioFull;
hardware.pulseaudio.daemon.config = {
"default-sample-format" = "s16le";
"default-sample-rate" = "48000";
"alternate-sample-rate" = "44100";
"resample-method" = "soxr-hq";
"flat-volumes" = "no";
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; [