diff --git a/.forgejo/workflows/activate.yml b/.forgejo/workflows/activate.yml index 456285f..f338572 100644 --- a/.forgejo/workflows/activate.yml +++ b/.forgejo/workflows/activate.yml @@ -37,6 +37,15 @@ jobs: -H "Actions: view, Action Runs, https://git.satr14.my.id/${{ github.repository }}/actions?workflow=activate.yml; view, View Commit, https://git.satr14.my.id/${{ github.repository }}/commit/${{ github.sha }}" \ -d "${{ github.event.head_commit.message }}" + - name: Notify on success + if: success() + run: | + curl -s -X POST https://notify.proxy.satr14.my.id/git-flake-updates \ + -H "Title: NixOS Homelab Rebuild Succeeded" \ + -H "Tags: white_check_mark" \ + -H "Actions: view, View Commit, https://git.satr14.my.id/${{ github.repository }}/commit/${{ github.sha }}" \ + -d "${{ github.event.head_commit.message }}" + - name: Clean Up if: always() run: rm -f ./ssh/deploy_key \ No newline at end of file diff --git a/modules/system/homelab/dash.nix b/modules/system/homelab/dash.nix index d8972a0..c6c14bb 100644 --- a/modules/system/homelab/dash.nix +++ b/modules/system/homelab/dash.nix @@ -1,4 +1,4 @@ -{ timezone, homelab, ... }:$ let +{ timezone, homelab, ... }: let yt = [ "UCXuqSBlHAE6Xw-yeJA0Tunw" # LinusTechTips "UCsBjURrPoezykLs9EqgamOA" # Fireship