Enable Git LFS
This commit is contained in:
parent
b2b79e6a1e
commit
2ab92cf3dd
|
@ -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
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue