From d425bde1a1e217efa5e5394fb46aca5ff756f64a Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sat, 15 Feb 2025 13:46:52 +0100 Subject: [PATCH] Update gotosocial --- modules/cloud/authentik/default.nix | 1 + overlay.nix | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/cloud/authentik/default.nix b/modules/cloud/authentik/default.nix index 74d7f61..9c51f39 100644 --- a/modules/cloud/authentik/default.nix +++ b/modules/cloud/authentik/default.nix @@ -52,6 +52,7 @@ in serviceConfig.EnvironmentFile = cfg.envFile; serviceConfig.Type = "notify"; serviceConfig.NotifyAccess = "all"; + serviceConfig.TimeoutSec = 300; script = lib.mkBefore '' ${lib.getExe pkgs.wait4x} http http://127.0.0.1:${toString cfg.port} --expect-status-code 200 -t 0 -q -- systemd-notify --ready & ''; diff --git a/overlay.nix b/overlay.nix index cad74ce..1f43a8d 100644 --- a/overlay.nix +++ b/overlay.nix @@ -22,7 +22,7 @@ let overlay-versioning = final: prev: { gotosocial = prev.gotosocial.overrideAttrs (attrs: rec { - version = "0.17.1"; + version = "0.18.0-rc2"; ldflags = [ "-s" "-w" @@ -32,13 +32,13 @@ let web-assets = final.fetchurl { url = "https://github.com/superseriousbusiness/gotosocial/releases/download/v${version}/gotosocial_${version}_web-assets.tar.gz"; - hash = "sha256-rGntLlIbgfCtdqpD7tnvAY8qwF+BpYbQWfAGMhdOTgY="; + hash = "sha256-VX6ewG2fOKdzgm7FOd+Q+YmRt9oz+HcvDCoxnmijTO8="; }; src = final.fetchFromGitHub { owner = "superseriousbusiness"; repo = "gotosocial"; rev = "v${version}"; - hash = "sha256-oWWsCs9jgd244yzWhgLkuHp7kY0BQ8+Ay6KpuBVG+U8="; + hash = "sha256-XZLi4axYZNg90XGtFYK3l++kbxvZUYyq2PEsVXp20FE="; }; postInstall = '' tar xf ${web-assets}