helix: fix gitea
This commit is contained in:
parent
6538121f1d
commit
2f93cff966
|
@ -6,8 +6,13 @@
|
|||
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
user = "gitea";
|
||||
group = "gitea";
|
||||
stateDir = "/var/lib/gitea";
|
||||
database = {
|
||||
type = "postgres";
|
||||
user = "gitea";
|
||||
name = "gitea";
|
||||
passwordFile = "/run/agenix/gitea-dbpass";
|
||||
};
|
||||
settings = {
|
||||
|
@ -43,6 +48,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
users.users.gitea = {
|
||||
home = "/var/lib/gitea";
|
||||
useDefaultShell = true;
|
||||
group = "gitea";
|
||||
isSystemUser = true;
|
||||
};
|
||||
|
||||
users.groups.gitea = {};
|
||||
|
||||
environment.systemPackages = [ pkgs.pandoc ];
|
||||
services.postgresql = {
|
||||
enable = true; # Ensure postgresql is enabled
|
||||
|
|
Loading…
Reference in a new issue