From 588a1e77e8bd537ca30cb524878db86dd6988edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Rivera?= Date: Sun, 26 Jul 2026 16:46:26 +0200 Subject: [PATCH] migrate nixpkgs-notifier to ntfy --- modules/applications/hyprland.nix | 2 +- modules/utilities/development.nix | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/applications/hyprland.nix b/modules/applications/hyprland.nix index 22a465d..f1260f8 100644 --- a/modules/applications/hyprland.nix +++ b/modules/applications/hyprland.nix @@ -41,7 +41,7 @@ wayland.windowManager.hyprland.settings = { exec-once = [ "qtbatticon" # custom battery tray - "nixpkgs-notifier listen" # tracks PR merge in nixos-unstable + "source /run/agenix/ntfy && nixpkgs-notifier listen" # gets the necessary env vars and tracks PR merge in nixos-unstable ]; monitor = [ "eDP-1, highres@highrr, 0x0, 1" diff --git a/modules/utilities/development.nix b/modules/utilities/development.nix index a851b63..743ae17 100644 --- a/modules/utilities/development.nix +++ b/modules/utilities/development.nix @@ -48,11 +48,17 @@ "configFetchTime": 1, "localNotify": true, "matrix": { - "enable": true, + "enable": false, "room": "!BXRRokBmEdNOyYdfOF:matrix.org", "ping": true, "userPing": "@notificationbot_0000", "userPingServer": "matrix.org" + }, + "ntfy": { + "enable": true, + "auth": ":$NTFY_TOKEN", + "server": "$NTFY_SERVER", + "topic": "Alerts" } } '';