about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-03-29 00:21:01 +0900
committersefidel <contact@sefidel.net>2024-03-29 00:21:01 +0900
commita87dbdc291297a07321ef6e064a24dbb058f74f0 (patch)
tree2127294690ddf466f325a479d29e92954ad8c1de
parent5ca465032b24c55099beea937e8ceca115ac3967 (diff)
downloadnixrc-a87dbdc291297a07321ef6e064a24dbb058f74f0.tar.gz
nixrc-a87dbdc291297a07321ef6e064a24dbb058f74f0.zip
fix(home/default): override waybar to fix regression
-rw-r--r--home/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix
index 1e78b81..5687f44 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -1,5 +1,22 @@
 { self, unstable, ... } @ inputs:
 
+let
+  waybar-overlay = (final: prev: {
+    # TODO: remove when >0.10.0
+    waybar = prev.waybar.overrideAttrs(old: {
+      src = prev.fetchFromGitHub {
+        owner = "Alexays";
+        repo = "Waybar";
+        rev = "ddc767cd815a7c429bc4dd7f185fad93e485271d";
+        hash = "sha256-dQW43ZxDrBvMCefvTCjaV3hEpYCU6KTJl/JxR8XZhwM=";
+      };
+
+      buildInputs = old.buildInputs ++ [
+        prev.wireplumber
+      ];
+    });
+  });
+in
 {
   "sefidel@alpha" = self.lib.mkHome {
     username = "sefidel";
@@ -11,6 +28,7 @@
         neovim-nightly.overlay
         helix.overlays.default
         nur.overlay
+        waybar-overlay
       ];
     };
 
@@ -44,6 +62,7 @@
         neovim-nightly.overlay
         helix.overlays.default
         nur.overlay
+        waybar-overlay
       ];
     };