hyprland: ntfy-sh added to home.packages

This commit is contained in:
Tigor Hutasuhut 2024-10-17 16:56:28 +07:00
parent 1be23afdef
commit b87263862e

View file

@ -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"
];
};
}