From f1f8a3c908b709fe610cf3cb4083ce7f5233f67a Mon Sep 17 00:00:00 2001 From: ahtlon Date: Thu, 19 Feb 2026 00:13:50 +0100 Subject: [PATCH 1/7] fix? --- .gitea/workflows/autoupdate.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/autoupdate.yml b/.gitea/workflows/autoupdate.yml index dc9e06df..90eda224 100644 --- a/.gitea/workflows/autoupdate.yml +++ b/.gitea/workflows/autoupdate.yml @@ -31,11 +31,10 @@ jobs: run: nix flake check --all-systems --verbose - name: Create Gitea PR - uses: https://github.com/Mai0313/create-pull-request@main + uses: https://github.com/arifer612/Gitea-PR-action@v1 with: - github-server-url: https://git.dynamicdiscord.de + url: https://git.dynamicdiscord.de token: ${{ secrets.AHTLONS_GITEA_TOKEN }} - commit-message: 'Update flake.lock' - committer: 'malobot ' - title: 'Update flake.lock' - assignees: 'ahtlon' + tea-version: 0.9.2 + pr-label: bump + assignee: ${{ github.actor }} -- 2.51.2 From a07c47846e184e39d0b42d2ce558a45a6cb28da6 Mon Sep 17 00:00:00 2001 From: ahtlon Date: Thu, 19 Feb 2026 02:25:58 +0100 Subject: [PATCH 2/7] wehhhh --- .gitea/workflows/autoupdate.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/autoupdate.yml b/.gitea/workflows/autoupdate.yml index 90eda224..53993238 100644 --- a/.gitea/workflows/autoupdate.yml +++ b/.gitea/workflows/autoupdate.yml @@ -27,8 +27,17 @@ jobs: - name: Run nix flake update run: nix flake update - - name: Run nix flake check - run: nix flake check --all-systems --verbose + + - name: Commit and Push flake.lock + run: | + git config user.name "malobot" + git config user.email "malobot@systemli.org" + git stash push + git branch nixpkgs_bump_$(date +%Y%m%d) + git checkout nixpkgs_bump_$(date +%Y%m%d) + git stash pop + git add flake.lock + git diff --staged --quiet || git commit -m "Update flake.lock" - name: Create Gitea PR uses: https://github.com/arifer612/Gitea-PR-action@v1 -- 2.51.2 From 80a9fdb880226c55ed577aa05904a02452419955 Mon Sep 17 00:00:00 2001 From: ahtlon Date: Thu, 19 Feb 2026 02:31:46 +0100 Subject: [PATCH 3/7] bleh --- .gitea/workflows/autoupdate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/autoupdate.yml b/.gitea/workflows/autoupdate.yml index 53993238..22694c1a 100644 --- a/.gitea/workflows/autoupdate.yml +++ b/.gitea/workflows/autoupdate.yml @@ -38,6 +38,7 @@ jobs: git stash pop git add flake.lock git diff --staged --quiet || git commit -m "Update flake.lock" + git push -u origin nixpkgs_bump_$(date +%Y%m%d) - name: Create Gitea PR uses: https://github.com/arifer612/Gitea-PR-action@v1 -- 2.51.2 From 9641ed68e286e29ad107e41d388a41b24da6cda0 Mon Sep 17 00:00:00 2001 From: ahtlon Date: Thu, 19 Feb 2026 12:32:41 +0100 Subject: [PATCH 4/7] gwah! --- .gitea/workflows/autoupdate.yml | 75 +++++++++++++++++++++++++++++---- 1 file changed, 67 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/autoupdate.yml b/.gitea/workflows/autoupdate.yml index 22694c1a..4eea9b65 100644 --- a/.gitea/workflows/autoupdate.yml +++ b/.gitea/workflows/autoupdate.yml @@ -40,11 +40,70 @@ jobs: git diff --staged --quiet || git commit -m "Update flake.lock" git push -u origin nixpkgs_bump_$(date +%Y%m%d) - - name: Create Gitea PR - uses: https://github.com/arifer612/Gitea-PR-action@v1 - with: - url: https://git.dynamicdiscord.de - token: ${{ secrets.AHTLONS_GITEA_TOKEN }} - tea-version: 0.9.2 - pr-label: bump - assignee: ${{ github.actor }} + - name: Check for eval warnings + id: commit + shell: bash + run: | + { + echo "COMMIT_DESC<&1 | grep evaluation | awk '!seen[$0]++' || echo "None :)" + echo EOF + } >> "$GITHUB_OUTPUT" + + - name: Install Tea + env: + TEA_DL_URL: "https://dl.gitea.com/tea/0.9.2\tea-0.9.2-linux-amd64" + shell: bash + run: | + TEA_DIR=$(mktemp -d -t tmp.XXXX) + pushd $TEA_DIR + wget "$TEA_DL_URL" + wget "${TEA_DL_URL}.sha256" + if $(sha256sum --quiet -c "tea-0.9.2-linux-amd64.sha256"); then + mv "tea-0.9.2-linux-amd64" /usr/bin/tea + chmod +x /usr/bin/tea + popd + rm -rf $TEA_DIR + else + popd + rm -rf $TEA_DIR + echo "::error title=⛔ error hint::Tea v0.9.2 Checksum Failed" + exit 1 + fi + - name: Login to Gitea + shell: bash + env: + GIT_SERVER_URL: https://git.dynamicdiscord.de + GIT_SERVER_TOKEN: ${{ secrets.AHTLONS_GITEA_TOKEN }} + run: >- + tea login add + -u "$GIT_SERVER_URL" + -t "$GIT_SERVER_TOKEN" + - name: Check for existing pull request + id: no-pr + continue-on-error: true + shell: bash + run: >- + tea pr -f head -o simple | + grep -q ${{ github.ref_name }} && + exit 1 || + exit 0 + - name: Create pull request + if: steps.no-pr.outcome == 'success' + env: + COMMIT_MSG: Automatic Nixpkgs update + COMMIT_DESC: ${{ steps.commit.outputs.COMMIT_DESC }} + shell: bash + run: >- + tea pr create + -L "bump" + -t "$COMMIT_MSG" + -d "$COMMIT_DESC" + - name: Skip pull request + if: steps.no-pr.outcome == 'failure' + shell: bash + run: > + echo "::error title=⛔ error hint:: + A PR already exists for this branch: ${{ github.ref_name }}" \ No newline at end of file -- 2.51.2 From a2b49bb36e71f7b0ae73a2a01c4e53e46a6abab6 Mon Sep 17 00:00:00 2001 From: ahtlon Date: Thu, 19 Feb 2026 12:42:29 +0100 Subject: [PATCH 5/7] bugh --- .gitea/workflows/autoupdate.yml | 42 ++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.gitea/workflows/autoupdate.yml b/.gitea/workflows/autoupdate.yml index 4eea9b65..b137b7c3 100644 --- a/.gitea/workflows/autoupdate.yml +++ b/.gitea/workflows/autoupdate.yml @@ -18,8 +18,27 @@ jobs: run: | apt-get update apt-get install -y sudo + - name: Install Tea + env: + TEA_DL_URL: "https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-amd64" + shell: bash + run: | + TEA_DIR=$(mktemp -d -t tmp.XXXX) + pushd $TEA_DIR + wget "$TEA_DL_URL" + wget "${TEA_DL_URL}.sha256" + if $(sha256sum --quiet -c "tea-0.9.2-linux-amd64.sha256"); then + mv "tea-0.9.2-linux-amd64" /usr/bin/tea + chmod +x /usr/bin/tea + popd + rm -rf $TEA_DIR + else + popd + rm -rf $TEA_DIR + echo "::error title=⛔ error hint::Tea v0.9.2 Checksum Failed" + exit 1 + fi - uses: https://code.forgejo.org/actions/checkout@v6 - - name: Set up Nix uses: https://github.com/cachix/install-nix-action@v31 with: @@ -52,26 +71,7 @@ jobs: echo EOF } >> "$GITHUB_OUTPUT" - - name: Install Tea - env: - TEA_DL_URL: "https://dl.gitea.com/tea/0.9.2\tea-0.9.2-linux-amd64" - shell: bash - run: | - TEA_DIR=$(mktemp -d -t tmp.XXXX) - pushd $TEA_DIR - wget "$TEA_DL_URL" - wget "${TEA_DL_URL}.sha256" - if $(sha256sum --quiet -c "tea-0.9.2-linux-amd64.sha256"); then - mv "tea-0.9.2-linux-amd64" /usr/bin/tea - chmod +x /usr/bin/tea - popd - rm -rf $TEA_DIR - else - popd - rm -rf $TEA_DIR - echo "::error title=⛔ error hint::Tea v0.9.2 Checksum Failed" - exit 1 - fi + - name: Login to Gitea shell: bash env: -- 2.51.2 From 4b222ac4b014cb65986fab31b928d1ebce105dac Mon Sep 17 00:00:00 2001 From: ahtlon Date: Thu, 19 Feb 2026 12:49:34 +0100 Subject: [PATCH 6/7] miaou --- .gitea/workflows/autoupdate.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/autoupdate.yml b/.gitea/workflows/autoupdate.yml index b137b7c3..afcaa153 100644 --- a/.gitea/workflows/autoupdate.yml +++ b/.gitea/workflows/autoupdate.yml @@ -47,7 +47,7 @@ jobs: - name: Run nix flake update run: nix flake update - - name: Commit and Push flake.lock + - name: Commit flake.lock run: | git config user.name "malobot" git config user.email "malobot@systemli.org" @@ -57,7 +57,6 @@ jobs: git stash pop git add flake.lock git diff --staged --quiet || git commit -m "Update flake.lock" - git push -u origin nixpkgs_bump_$(date +%Y%m%d) - name: Check for eval warnings id: commit @@ -90,6 +89,8 @@ jobs: grep -q ${{ github.ref_name }} && exit 1 || exit 0 + - name: Force push branch + run: git push --force -u origin nixpkgs_bump_$(date +%Y%m%d) - name: Create pull request if: steps.no-pr.outcome == 'success' env: -- 2.51.2 From ca122447f09e9492ac7813edd612d1ac445a1c0a Mon Sep 17 00:00:00 2001 From: malobot Date: Thu, 19 Feb 2026 11:52:44 +0000 Subject: [PATCH 7/7] Update flake.lock --- flake.lock | 80 ++++++++++++++++-------------------------------------- 1 file changed, 23 insertions(+), 57 deletions(-) diff --git a/flake.lock b/flake.lock index 90e22b49..a5498130 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1746728054, - "narHash": "sha256-eDoSOhxGEm2PykZFa/x9QG5eTH0MJdiJ9aR00VAofXE=", + "lastModified": 1768920986, + "narHash": "sha256-CNzzBsRhq7gg4BMBuTDObiWDH/rFYHEuDRVOwCcwXw4=", "owner": "nix-community", "repo": "disko", - "rev": "ff442f5d1425feb86344c028298548024f21256d", + "rev": "de5708739256238fb912c62f03988815db89ec9a", "type": "github" }, "original": { @@ -42,24 +42,6 @@ "url": "https://git.dynamicdiscord.de/kalipso/ep3-bs.nix" } }, - "flake-utils": { - "inputs": { - "systems": "systems_3" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "home-manager": { "inputs": { "nixpkgs": [ @@ -102,18 +84,17 @@ }, "microvm": { "inputs": { - "flake-utils": "flake-utils", "nixpkgs": [ "nixpkgs" ], "spectrum": "spectrum" }, "locked": { - "lastModified": 1764549796, - "narHash": "sha256-Mswg665P92EoHkBwCwPr/7bdnj04g2Qfb+t02ZEYTHA=", + "lastModified": 1771365290, + "narHash": "sha256-1XJOslVyF7yzf6yd/yl1VjGLywsbtwmQh3X1LuJcLI4=", "owner": "astro", "repo": "microvm.nix", - "rev": "030d055e877cc13d7525b39f434150226d5e4482", + "rev": "789c90b164b55b4379e7a94af8b9c01489024c18", "type": "github" }, "original": { @@ -145,11 +126,11 @@ ] }, "locked": { - "lastModified": 1764234087, - "narHash": "sha256-NHF7QWa0ZPT8hsJrvijREW3+nifmF2rTXgS2v0tpcEA=", + "lastModified": 1769813415, + "narHash": "sha256-nnVmNNKBi1YiBNPhKclNYDORoHkuKipoz7EtVnXO50A=", "owner": "nix-community", "repo": "nixos-generators", - "rev": "032a1878682fafe829edfcf5fdfad635a2efe748", + "rev": "8946737ff703382fda7623b9fab071d037e897d5", "type": "github" }, "original": { @@ -160,11 +141,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1764440730, - "narHash": "sha256-ZlJTNLUKQRANlLDomuRWLBCH5792x+6XUJ4YdFRjtO4=", + "lastModified": 1771423359, + "narHash": "sha256-yRKJ7gpVmXbX2ZcA8nFi6CMPkJXZGjie2unsiMzj3Ig=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "9154f4569b6cdfd3c595851a6ba51bfaa472d9f3", + "rev": "740a22363033e9f1bb6270fbfb5a9574067af15b", "type": "github" }, "original": { @@ -192,11 +173,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1764517877, - "narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=", + "lastModified": 1771369470, + "narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c", + "rev": "0182a361324364ae3f436a63005877674cf45efb", "type": "github" }, "original": { @@ -208,11 +189,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1764522689, - "narHash": "sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD+/cTUzzgVFoaHrkqY=", + "lastModified": 1771208521, + "narHash": "sha256-X01Q3DgSpjeBpapoGA4rzKOn25qdKxbPnxHeMLNoHTU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f", + "rev": "fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8", "type": "github" }, "original": { @@ -246,11 +227,11 @@ ] }, "locked": { - "lastModified": 1764483358, - "narHash": "sha256-EyyvCzXoHrbL467YSsQBTWWg4sR96MH1sPpKoSOelB4=", + "lastModified": 1771166946, + "narHash": "sha256-UFc4lfGBr+wJmwgDGJDn1cVD6DTr0/8TdronNUiyXlU=", "owner": "Mic92", "repo": "sops-nix", - "rev": "5aca6ff67264321d47856a2ed183729271107c9c", + "rev": "2d0cf89b4404529778bc82de7e42b5754e0fe4fa", "type": "github" }, "original": { @@ -335,21 +316,6 @@ "type": "github" } }, - "systems_5": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "tasklist": { "inputs": { "nixpkgs": [ @@ -408,7 +374,7 @@ }, "utils_3": { "inputs": { - "systems": "systems_4" + "systems": "systems_3" }, "locked": { "lastModified": 1731533236, @@ -426,7 +392,7 @@ }, "utils_4": { "inputs": { - "systems": "systems_5" + "systems": "systems_4" }, "locked": { "lastModified": 1731533236, -- 2.51.2