forgejo: use user name for stateDir
This commit is contained in:
parent
443b76f235
commit
a4a025b939
|
@ -53,6 +53,9 @@ in {
|
|||
enable = true;
|
||||
user = forgejoUser;
|
||||
appName = "Personal Forge";
|
||||
group = config.users.users.${forgejoUser}.group;
|
||||
stateDir = "/var/lib/${forgejoUser}";
|
||||
|
||||
lfs.enable = true;
|
||||
|
||||
settings = {
|
||||
|
|
Loading…
Reference in a new issue