diff --git a/.forgejo/workflows/docker.yaml b/.forgejo/workflows/docker.yaml index 6e908d2..71c9604 100644 --- a/.forgejo/workflows/docker.yaml +++ b/.forgejo/workflows/docker.yaml @@ -13,15 +13,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Docker Buildx - uses: https://github.com/docker/setup-buildx-action@v3 + uses: https://github.com/docker/setup-buildx-action@v4 - name: Login to DockerHub - uses: https://github.com/docker/login-action@v3 + uses: https://github.com/docker/login-action@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push id: docker_build - uses: https://github.com/docker/build-push-action@v6 + uses: https://github.com/docker/build-push-action@v7 with: push: true load: true diff --git a/Dockerfile b/Dockerfile index 19e986b..e1cfeff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM spiretf/docker-tf2-server -ADD ./socket_3.0.1.zip ./ExtendHumiliation.smx / +ADD ./socket_3.0.1.zip ./plugin/ExtendHumiliation.smx / ADD ./maps.sh ./sourcemod.sh ./plugins.sh ./configs.sh $SERVER/ RUN $SERVER/maps.sh \ && $SERVER/sourcemod.sh \ diff --git a/curl.ext.so b/curl.ext.so deleted file mode 100644 index 066d0e9..0000000 Binary files a/curl.ext.so and /dev/null differ diff --git a/flake.lock b/flake.lock index 51cdb60..636ed5a 100644 --- a/flake.lock +++ b/flake.lock @@ -1,80 +1,102 @@ { "nodes": { + "flakelight": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1794865725, + "narHash": "sha256-YJ2D++LP38iOxALjoyU0+sLkB1DMzZC6LyyDFDNENXc=", + "owner": "nix-community", + "repo": "flakelight", + "rev": "cc76eba994e4936c567d29a67add3649e882a534", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "flakelight", + "type": "github" + } + }, "nixpkgs": { "locked": { - "lastModified": 1728502498, - "narHash": "sha256-PcHsk4n1cKYBePd6mmu/OkC/AqKlocYRpXQv3OlzasA=", + "lastModified": 1795201826, + "narHash": "sha256-WudsuHZ4xsqepBWcWVLj2QL0+Zl5G4K6i6D5NfC0EIY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "7e1395464c01adb6be404b315202366f73305ace", + "rev": "9c21a1f0b67833c164ca94170a9ab28bd8e490fc", "type": "github" }, "original": { "id": "nixpkgs", - "ref": "release-24.05", + "ref": "release-26.05", + "type": "indirect" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1783389287, + "narHash": "sha256-0xIy4dVLqq47rA+mRy0hXDfjhQd4E5PoIns/RmB7nR4=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "0ad6f47ea4fe188f4bc8f0380f93ae8523337c6c", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-26.05", "type": "indirect" } }, "root": { "inputs": { + "flakelight": "flakelight", "nixpkgs": "nixpkgs", - "spire": "spire", - "utils": "utils" + "spire": "spire" } }, "spire": { "inputs": { - "nixpkgs": [ - "nixpkgs" + "flakelight": [ + "flakelight" ], - "utils": [ - "utils" + "nixpkgs": "nixpkgs_2", + "steam-fetcher": "steam-fetcher" + }, + "locked": { + "lastModified": 1794149326, + "narHash": "sha256-mK/1QHNkZ9S+z6KiRQkznmWSa5l+9Dot1KeqBCNF7oM=", + "ref": "refs/heads/main", + "rev": "703a7cbb256b05155b1f24ab6bb2d6a4d8b44fd0", + "revCount": 102, + "type": "git", + "url": "https://codeberg.org/spire/nix" + }, + "original": { + "type": "git", + "url": "https://codeberg.org/spire/nix" + } + }, + "steam-fetcher": { + "inputs": { + "nixpkgs": [ + "spire", + "nixpkgs" ] }, "locked": { - "lastModified": 1711219822, - "narHash": "sha256-gVxfFaWqK04qIqjGIZnGWE/0QTr5wZdeGudlGqnDfVI=", - "owner": "spiretf", - "repo": "nix", - "rev": "6007526a96065796476a0b489fe0e259adae1bb9", + "lastModified": 1758622040, + "narHash": "sha256-BRUZZoQDCD1qByJjHm4YKipQlB2PburWLG9Iaggr8XQ=", + "owner": "nix-community", + "repo": "steam-fetcher", + "rev": "ab5e3a0828b4b179feb548c57be584ce812956a8", "type": "github" }, "original": { - "owner": "spiretf", - "repo": "nix", - "type": "github" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1726560853, - "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", + "owner": "nix-community", + "repo": "steam-fetcher", "type": "github" } } diff --git a/flake.nix b/flake.nix index a0764d9..a71fd9c 100644 --- a/flake.nix +++ b/flake.nix @@ -1,31 +1,16 @@ { inputs = { - utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "nixpkgs/release-24.05"; - spire.url = "github:spiretf/nix"; - spire.inputs.nixpkgs.follows = "nixpkgs"; - spire.inputs.utils.follows = "utils"; + nixpkgs.url = "nixpkgs/release-26.05"; + flakelight = { + url = "github:nix-community/flakelight"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + spire = { + url = "git+https://codeberg.org/spire/nix"; + inputs.flakelight.follows = "flakelight"; + }; }; - outputs = { - self, - nixpkgs, - utils, - spire, - }: - utils.lib.eachSystem spire.systems (system: let - overlays = [spire.overlays.default]; - pkgs = (import nixpkgs) { - inherit system overlays; - }; - inherit (pkgs) lib; - spEnv = pkgs.sourcepawn.buildEnv (with pkgs.sourcepawn.includes; [sourcemod]); - in rec { - packages = rec { - inherit spEnv; - }; - devShells.default = pkgs.mkShell { - nativeBuildInputs = with pkgs; [spEnv]; - }; - }); + outputs = {spire, ...}: + spire ./. {}; } diff --git a/pause.smx b/pause.smx deleted file mode 100644 index 47c9b4b..0000000 Binary files a/pause.smx and /dev/null differ diff --git a/ExtendHumiliation.smx b/plugin/ExtendHumiliation.smx similarity index 100% rename from ExtendHumiliation.smx rename to plugin/ExtendHumiliation.smx diff --git a/ExtendHumiliation.sp b/plugin/ExtendHumiliation.sp similarity index 100% rename from ExtendHumiliation.sp rename to plugin/ExtendHumiliation.sp diff --git a/plugins.sh b/plugins.sh index 5981dae..945c2ca 100755 --- a/plugins.sh +++ b/plugins.sh @@ -75,9 +75,6 @@ wget -nv https://codeberg.org/demostf/plugin/raw/ba1b642b92585af142a885af7159fa6 # autoexec wget -nv https://codeberg.org/spire/autoexec/raw/master/plugin/autoexec.smx -## Pause -wget -nv https://codeberg.org/spire/docker-comp-server/raw/master/pause.smx - ## NoCheats wget -nv https://codeberg.org/spire/nocheats/raw/master/plugin/nocheats.smx