about summary refs log tree commit diff
path: root/users/grfn/system/home/modules/shell.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-04-19T13·33+0200
committergrfn <grfn@gws.fyi>2021-04-28T21·41+0000
commit10e0b1185ce271015b2db53a10f00f117f00d924 (patch)
tree588409204396356e0f9f38a1ef2bae0a05b59c97 /users/grfn/system/home/modules/shell.nix
parente98afefc0099e849f5c57cf524b94d4bb69b6eb9 (diff)
feat(grfn/yeren): Install+configure ntfy r/2551
automatic notifications when long-running commands are done! that's
cool.

Change-Id: Ic9451c0c349661c3df8ba1058748a59159bc4b3f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3044
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/system/home/modules/shell.nix')
-rw-r--r--users/grfn/system/home/modules/shell.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/users/grfn/system/home/modules/shell.nix b/users/grfn/system/home/modules/shell.nix
index 09d2c6356172..088fe9238c69 100644
--- a/users/grfn/system/home/modules/shell.nix
+++ b/users/grfn/system/home/modules/shell.nix
@@ -67,6 +67,7 @@ in {
   home.packages = with pkgs; [
     zsh
     autojump
+    ntfy
   ];
 
   home.sessionVariables = {
@@ -158,6 +159,8 @@ in {
         sha256 = "0l41ac5b7p8yyjvpfp438kw7zl9dblrpd7icjg1v3ig3xy87zv0n";
       }}/nix-shell.plugin.zsh
 
+      eval "$(${pkgs.ntfy}/bin/ntfy shell-integration)"
+
       export RPS1=""
       autoload -U promptinit; promptinit
       prompt pure