feat: add ntfy-notify home-manager module for desktop kanban notifications #1

Merged
jpporta merged 1 commits from feat/ntfy-notify-module into main 2026-07-22 10:09:24 -03:00
Owner

Adds a new home-manager module ntfy-notify that delivers kanban state changes as Linux desktop notifications via ntfy.sh + notify-send → SwayNC.

What it does:

  • Installs ntfy package
  • Creates ~/.config/ntfy/client.yml with subscription to the joao-kanban topic
  • Sets up ntfy-notify.service (systemd --user) as a persistent subscriber
  • Each incoming message fires notify-send -u critical → picked up by SwayNC
  • Configurable: server URL, subscriptions list, per-topic priority

Usage:
After deploy, start the service once:

systemctl --user daemon-reload
systemctl --user start ntfy-notify

Companion: A cron job on the VPS will be needed to push kanban events to the ntfy topic (separate task).

Closes kanban task t_322419fa on ndots board.

Adds a new home-manager module `ntfy-notify` that delivers kanban state changes as Linux desktop notifications via **ntfy.sh** + `notify-send` → SwayNC. **What it does:** - Installs `ntfy` package - Creates `~/.config/ntfy/client.yml` with subscription to the `joao-kanban` topic - Sets up `ntfy-notify.service` (systemd --user) as a persistent subscriber - Each incoming message fires `notify-send -u critical` → picked up by SwayNC - Configurable: `server` URL, `subscriptions` list, per-topic priority **Usage:** After deploy, start the service once: ```bash systemctl --user daemon-reload systemctl --user start ntfy-notify ``` **Companion:** A cron job on the VPS will be needed to push kanban events to the ntfy topic (separate task). Closes kanban task t_322419fa on ndots board.
jpporta added 1 commit 2026-07-22 10:07:29 -03:00
Adds a new home-manager module `ntfy-notify` that:
- Installs the `ntfy` package
- Creates `~/.config/ntfy/client.yml` with subscription config
- Sets up a `systemd --user` service (`ntfy-notify.service`) that
  subscribes to ntfy topics and fires `notify-send` on each message
- Subscribes to the `joao-kanban` topic by default

Also wires the module into `hosts/jpporta-nixos/home.nix` with
`custom.ntfy-notify.enable = true`.
jpporta merged commit 233ad01bee into main 2026-07-22 10:09:24 -03:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jpporta/ndots#1