From 33b74e1e029af14f51f469e3197a43fcb42fecb6 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 7 Sep 2023 18:13:02 +0300 Subject: [PATCH] magenta: fix gitea ssh See: https://github.com/NixOS/nixpkgs/issues/235442#issuecomment-1659070745 --- nixos/hosts/magenta/services/gitea.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/hosts/magenta/services/gitea.nix b/nixos/hosts/magenta/services/gitea.nix index 31115df..8dd2f1c 100644 --- a/nixos/hosts/magenta/services/gitea.nix +++ b/nixos/hosts/magenta/services/gitea.nix @@ -26,6 +26,10 @@ in port = config.services.postgresql.port; }; lfs.enable = true; + extraConfig = '' + [DEFAULT] + WORK_PATH = ${giteaCfg.stateDir} + ''; settings = { log = { LEVEL = "Info";