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" } } '';