From 11b2c7315a5a8fbd9fa3be5976f18faf043629e9 Mon Sep 17 00:00:00 2001 From: satr14 Date: Mon, 22 Jun 2026 14:44:04 +0700 Subject: [PATCH] update modpack and remove success notif --- .forgejo/workflows/activate.yml | 16 ++++++++-------- modules/system/homelab/mc.nix | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/activate.yml b/.forgejo/workflows/activate.yml index f338572..329cd4f 100644 --- a/.forgejo/workflows/activate.yml +++ b/.forgejo/workflows/activate.yml @@ -37,14 +37,14 @@ 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: 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() diff --git a/modules/system/homelab/mc.nix b/modules/system/homelab/mc.nix index c95cd55..2555b67 100644 --- a/modules/system/homelab/mc.nix +++ b/modules/system/homelab/mc.nix @@ -4,10 +4,10 @@ ram-allocation-mb = 12288; rcon-pass = "howdy"; modpack = let - commit = "3956a42f139b93b049ff5004bba62cf29c9d3b99"; + commit = "e47a428b61fc087f4c733258e5a282c21b32d9c3"; path = if production then "commit/${commit}" else "branch/main"; in pkgs.fetchPackwizModpack { - packHash = "sha256-g3PNwhFJkF8pSAx8sp2TLE3RH2vjgDuFElSS/ok8EfI="; + packHash = ""; url = "https://git.satr14.my.id/satr14/server-modpack/raw/${path}/pack.toml"; }; in {