gitea: bind mount /var/lib/gitea
This commit is contained in:
@@ -19,6 +19,12 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.selfprivacy.modules.gitea.enable {
|
config = lib.mkIf config.selfprivacy.modules.gitea.enable {
|
||||||
|
fileSystems = lib.mkIf sp.useBinds {
|
||||||
|
"/var/lib/gitea" = {
|
||||||
|
device = "/volumes/${sp.modules.gitea.location}/gitea";
|
||||||
|
options = [ "bind" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit stateDir;
|
inherit stateDir;
|
||||||
|
Reference in New Issue
Block a user