diff options
Diffstat (limited to 'modules/scripts/pushover')
-rw-r--r-- | modules/scripts/pushover/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/scripts/pushover/default.nix b/modules/scripts/pushover/default.nix index a5644e4..979e96b 100644 --- a/modules/scripts/pushover/default.nix +++ b/modules/scripts/pushover/default.nix @@ -1,4 +1,9 @@ -{ inputs, config, pkgs, ... }: +{ + inputs, + config, + pkgs, + ... +}: let pushover = pkgs.writeShellScriptBin "pushover" '' set -e @@ -35,7 +40,8 @@ let --form-string "message=$MESSAGE" \ https://api.pushover.net/1/messages.json ''; -in { +in +{ age.secrets = { pushoverAppToken.file = "${inputs.self}/secrets/pushoverAppToken.age"; pushoverUserToken.file = "${inputs.self}/secrets/pushoverUserToken.age"; |