From a3eeafbc19c89404019a385d737229802fe82620 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Thu, 16 Jul 2020 11:49:07 +0200 Subject: [PATCH] Only override pulseaudio for waybar. --- pulseaudio.nix | 3 ++- sway.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pulseaudio.nix b/pulseaudio.nix index 3978dad..e072cd7 100644 --- a/pulseaudio.nix +++ b/pulseaudio.nix @@ -16,6 +16,7 @@ extraModules = [ pkgs.pulseaudio-modules-bt ]; }; - nixpkgs.config.pulseaudio = true; + # causes recompilation + # nixpkgs.config.pulseaudio = true; } diff --git a/sway.nix b/sway.nix index 45db988..a7573ff 100644 --- a/sway.nix +++ b/sway.nix @@ -7,7 +7,7 @@ environment.systemPackages = with pkgs; with gnome3; [ i3status - waybar + (waybar.override { pulseSupport = true; }) wofi ydotool feh