From dfac919656d50196f4fa69f3d09eeacff5211537 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 19 Oct 2023 19:54:53 -0500 Subject: [PATCH] feat: temporary waybar overlay with fixes --- modules/home/desktop/addons/waybar/default.nix | 3 ++- overlays/waybar/default.nix | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 overlays/waybar/default.nix diff --git a/modules/home/desktop/addons/waybar/default.nix b/modules/home/desktop/addons/waybar/default.nix index 6cdabb401..bc9ab63c5 100644 --- a/modules/home/desktop/addons/waybar/default.nix +++ b/modules/home/desktop/addons/waybar/default.nix @@ -86,7 +86,8 @@ in programs.waybar = { enable = true; - package = nixpkgs-wayland.packages.${system}.waybar; + # package = nixpkgs-wayland.packages.${system}.waybar; + package = pkgs.waybar; systemd.enable = true; # TODO: make dynamic / support different number of bars etc diff --git a/overlays/waybar/default.nix b/overlays/waybar/default.nix new file mode 100644 index 000000000..7b0cf93d1 --- /dev/null +++ b/overlays/waybar/default.nix @@ -0,0 +1,11 @@ +_: (_final: prev: { + waybar = prev.waybar.overrideAttrs (old: { + version = "2578"; + src = prev.fetchFromGitHub { + owner = "Alexays"; + repo = "waybar"; + rev = "pull/2578/head"; + hash = "sha256-MuEOOQ8cO4MXMdRImh2dBiUtPJvSF22SICVKEsjCVRc="; + }; + }); +})