mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2025-01-08 00:51:23 +00:00
gitea: bind mount /var/lib/gitea
This commit is contained in:
parent
eb59d33e1f
commit
426e6f72c5
|
@ -19,6 +19,12 @@ in
|
|||
};
|
||||
|
||||
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 = {
|
||||
enable = true;
|
||||
inherit stateDir;
|
||||
|
|
Loading…
Reference in a new issue