services/forgejo: move data from storage-box to local volume
All checks were successful
/ check (pull_request) Successful in 36s
All checks were successful
/ check (pull_request) Successful in 36s
This commit is contained in:
parent
c78ddc7f9d
commit
d619342460
1 changed files with 11 additions and 2 deletions
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue