feat: change data directories, add disko for usb storage

This commit is contained in:
Ryan Yin
2024-07-31 11:52:48 +08:00
parent b671c05db9
commit 8c795c7d0d
10 changed files with 77 additions and 26 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ in {
enable = true;
user = "gitea";
group = "gitea";
stateDir = "/var/lib/gitea";
stateDir = "/data/apps/gitea";
appName = "Ryan Yin's Gitea Service";
lfs.enable = true;
# Enable a timer that runs gitea dump to generate backup-files of the current gitea database and repositories.