From 9a045ce3235ed3a3c22357a9953d665a752946fd Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 5 Nov 2020 15:09:12 +0100 Subject: [PATCH] Reformat pulse config --- modules/pulseaudio.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/modules/pulseaudio.nix b/modules/pulseaudio.nix index c42abb3..bc56b7e 100644 --- a/modules/pulseaudio.nix +++ b/modules/pulseaudio.nix @@ -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; [