From 45031c8395b6f5c9ca0e6f044ebffe385b9fd247 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sat, 8 Jul 2023 12:03:55 +0200 Subject: [PATCH] Push gts to 0.10.0-rc1 --- modules/cloud/gotosocial/default.nix | 4 ++++ packages/x86_64-linux/gotosocial-bin.nix | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/cloud/gotosocial/default.nix b/modules/cloud/gotosocial/default.nix index 2bc8e09..0c755cb 100644 --- a/modules/cloud/gotosocial/default.nix +++ b/modules/cloud/gotosocial/default.nix @@ -22,6 +22,10 @@ let oidc-enabled = true; oidc-idp-name = "DTTH"; oidc-scopes = [ "openid" "email" "profile" ]; + # HTTP Client + http-client.block-ips = [ "11.0.0.0/24" ]; + # Advanced + advanced-rate-limit-requests = 0; }); in { diff --git a/packages/x86_64-linux/gotosocial-bin.nix b/packages/x86_64-linux/gotosocial-bin.nix index 1cebbec..def93f3 100644 --- a/packages/x86_64-linux/gotosocial-bin.nix +++ b/packages/x86_64-linux/gotosocial-bin.nix @@ -4,11 +4,11 @@ let in stdenv.mkDerivation rec { pname = "gotosocial-bin"; - version = "0.9.0"; + version = "0.10.0-rc1"; src = builtins.fetchurl { url = "https://github.com/superseriousbusiness/gotosocial/releases/download/v${version}/gotosocial_${version}_linux_amd64.tar.gz"; - sha256 = "sha256:0dv3fp0q6ci9br68d7fzni74fqj07a5p71k4hzqhhib9xdhj104v"; + sha256 = "sha256:1a8ygs3kqi7v07mk96k3r4azbjz7sqgshlplslwbnfcsli8m60dz"; # sha256 = fakeSha256; };