services/forgejo: move data from storage-box to local volume
All checks were successful
/ check (pull_request) Successful in 1m28s
/ check (push) Successful in 1m22s

This commit is contained in:
Nikodem Rabuliński 2025-04-13 17:15:20 +02:00
parent 3b45efbea6
commit ad627694f2
Signed by: nrabulinski
SSH key fingerprint: SHA256:AZZVyfKStaCo8sbJB+3Rr/CRrlym1oEgw7vMnynJeR8

View file

@ -37,10 +37,10 @@
};
federation.ENABLED = true;
};
repositoryRoot = "/storage-box/forgejo/repos";
repositoryRoot = "/forgejo/repos";
lfs = {
enable = true;
contentDir = "/storage-box/forgejo/lfs";
contentDir = "/forgejo/lfs";
};
};
@ -84,6 +84,15 @@
credentialsFile = config.age.secrets.rab-lol-cf.path;
email = "nikodem@rabulinski.com";
};
fileSystems."/forgejo" = {
device = "/dev/disk/by-label/forgejo";
fsType = "btrfs";
options = [
"compress=zstd"
"noatime"
];
};
};
};
}