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