From 9ed42eeb06f5f05ebb3815d0b0e09ce035918b98 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 8 Apr 2023 01:25:56 +0530 Subject: [PATCH] refactor wayland package --- home/wm/addon/waybar/default.nix | 3 +++ packages/default.nix | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/home/wm/addon/waybar/default.nix b/home/wm/addon/waybar/default.nix index 2796f57..be45e81 100644 --- a/home/wm/addon/waybar/default.nix +++ b/home/wm/addon/waybar/default.nix @@ -2,6 +2,9 @@ xdg.configFile."waybar/colors.css".source = ./colors.css; programs.waybar = { enable = true; + package = pkgs.waybar.overrideAttrs (oldAttrs: { + mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ]; + }); systemd.enable = true; style = ./style.css; settings = { diff --git a/packages/default.nix b/packages/default.nix index 85a3065..4b11e51 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -4,8 +4,4 @@ self: super: { dracula-gtk = super.callPackage ./dracula-gtk { }; newaita-icon-theme = super.callPackage ./newaita-icon-theme { }; scripts = super.callPackage ./scripts { }; - - waybar = super.waybar.overrideAttrs (oldAttrs: { - mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ]; - }); }