From b87263862e89a37e5f9974cc9f031b37fd72737a Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Thu, 17 Oct 2024 16:56:28 +0700 Subject: [PATCH] hyprland: ntfy-sh added to home.packages --- home/modules/hyprland/ntfy-sh.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/modules/hyprland/ntfy-sh.nix b/home/modules/hyprland/ntfy-sh.nix index 1e98e69..64aec32 100644 --- a/home/modules/hyprland/ntfy-sh.nix +++ b/home/modules/hyprland/ntfy-sh.nix @@ -6,8 +6,12 @@ let in { config = mkIf (hyprland.enable && cfg.enable) { + home.packages = with pkgs; [ + ntfy-sh + ]; + wayland.windowManager.hyprland.settings.exec-once = [ - "${pkgs.ntfy-sh}/bin/ntfy subscribe --config /etc/ntfy/client.yml --from-config" + "ntfy subscribe --config /etc/ntfy/client.yml --from-config" ]; }; }