all repos — nixfiles @ c755579395a47d25e747ab361d23c760b5079815

System and user configuration, managed by nix and home-manager

audio: switch to pipewire

Alan Pearce
commit

c755579395a47d25e747ab361d23c760b5079815

parent

a846de8177cae01322f5f3af81e9ef64ecc963ba

1 file changed, 5 insertions(+), 10 deletions(-)

changed files
M system/settings/hardware/audio.nixsystem/settings/hardware/audio.nix
@@ -1,21 +1,16 @@
{ config, pkgs, ... }: -{ hardware.pulseaudio = { +{ services.pipewire = { enable = true; - support32Bit = true; - daemon.config = { - flat-volumes = "no"; - avoid-resampling = "yes"; - }; - package = if config.hardware.bluetooth.enable - then pkgs.pulseaudioFull - else pkgs.pulseaudio; + audio.enable = true; + alsa.enable = true; + pulse.enable = true; }; sound.enable = true; environment.systemPackages = with pkgs; [ pamixer - pavucontrol + pipecontrol ]; }