From 37e47b7f7c5e0b766a9e917f8affa23cda0c3648 Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Tue, 22 Sep 2020 21:01:20 +0200 Subject: [PATCH] waybar: Enable pulseaudio by default The default configuration use the pulseaudio module, but it fails to load with errors since we've built the package without pulseaudio support. Most systems already have pulseaudio in the system closure anyways so the closure size change won't be noticable on end user systems. --- pkgs/applications/misc/waybar/default.nix | 2 +- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/misc/waybar/default.nix b/pkgs/applications/misc/waybar/default.nix index ae2c3ce86bcf..11a4b1a51aad 100644 --- a/pkgs/applications/misc/waybar/default.nix +++ b/pkgs/applications/misc/waybar/default.nix @@ -2,7 +2,7 @@ , wayland, wlroots, gtkmm3, libsigcxx, jsoncpp, fmt, scdoc, spdlog, gtk-layer-shell , howard-hinnant-date, cmake , traySupport ? true, libdbusmenu-gtk3 -, pulseSupport ? false, libpulseaudio +, pulseSupport ? true, libpulseaudio , nlSupport ? true, libnl , udevSupport ? true, udev , swaySupport ? true, sway diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2c9168f5ae99..1c4ace3a23f2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21211,9 +21211,7 @@ in swaylock-effects = callPackage ../applications/window-managers/sway/lock-effects.nix { }; - waybar = callPackage ../applications/misc/waybar { - pulseSupport = config.pulseaudio or false; - }; + waybar = callPackage ../applications/misc/waybar { }; hikari = callPackage ../applications/window-managers/hikari { };