From 2ab92cf3ddb56fde1df0ca74f14d62d810cf3ac4 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 25 Nov 2019 14:29:04 +0100 Subject: [PATCH] Enable Git LFS --- modules/devops.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/devops.nix b/modules/devops.nix index b4443e8..a2880d1 100644 --- a/modules/devops.nix +++ b/modules/devops.nix @@ -3,6 +3,7 @@ { environment.systemPackages = with pkgs; [ gitea + git-lfs ]; # Gitea setup with daily backup @@ -19,6 +20,10 @@ repositoryRoot = "/vault/git"; dump.enable = true; useWizard = true; + extraConfig = '' + LFS_START_SERVER = true + LFS_CONTENT_PATH = /var/lib/gitea/data/lfs + ''; }; }