services/forgejo: move data from storage-box to local volume
All checks were successful
/ check (pull_request) Successful in 36s

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

View file

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