From e0a29fbc0ef8a63e9265a479cc8fe5244e232e31 Mon Sep 17 00:00:00 2001 From: Myned <dev@bjork.tech> Date: Wed, 2 Apr 2025 14:29:39 -0500 Subject: [PATCH] waybar: conditionally use ppd module --- options/custom/programs/waybar/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/custom/programs/waybar/default.nix b/options/custom/programs/waybar/default.nix index 71a5d35..e6940e1 100644 --- a/options/custom/programs/waybar/default.nix +++ b/options/custom/programs/waybar/default.nix @@ -173,7 +173,7 @@ in { "wireplumber" "bluetooth" "network" - "power-profiles-daemon" + (mkIf config.services.power-profiles-daemon.enable "power-profiles-daemon") "battery" ];