Enable Git LFS

This commit is contained in:
coolneng 2019-11-25 14:29:04 +01:00
parent b2b79e6a1e
commit 2ab92cf3dd
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gitea gitea
git-lfs
]; ];
# Gitea setup with daily backup # Gitea setup with daily backup
@ -19,6 +20,10 @@
repositoryRoot = "/vault/git"; repositoryRoot = "/vault/git";
dump.enable = true; dump.enable = true;
useWizard = true; useWizard = true;
extraConfig = ''
LFS_START_SERVER = true
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
'';
}; };
} }