Fixed maybe?
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "git";
|
||||
ensureDBOwnership = true;
|
||||
# ensurePermissions."DATABASE ${config.services.gitea.database.name}" = "ALL PRIVILEGES";
|
||||
}
|
||||
{
|
||||
@@ -42,16 +43,19 @@
|
||||
|
||||
users.groups.git = { };
|
||||
users.users.git = {
|
||||
isNormalUser = true;
|
||||
isSystemUser = true;
|
||||
group = "git";
|
||||
home = "/var/lib/gitea";
|
||||
description = "Gitea Service";
|
||||
};
|
||||
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
appName = "Kyren's Code";
|
||||
# user = "git";
|
||||
user = "git";
|
||||
group = "git";
|
||||
database = {
|
||||
# user = "gitea";
|
||||
user = "git";
|
||||
# name = "gitea";
|
||||
type = "postgres";
|
||||
passwordFile = config.sops.secrets.gitea-db-password.path;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
sops.secrets.stalwart-admin-password = { owner = "stalwart-mail"; group = "stalwart-mail"; };
|
||||
sops.secrets.stalwart-kyren-password = { owner = "stalwart-mail"; group = "stalwart-mail"; };
|
||||
sops.secrets.stalwart-eko-password = { owner = "stalwart-mail"; group = "stalwart-mail"; };
|
||||
sops.secrets.stalwart-git-password = { owner = "stalwart-mail"; group = "gitea"; mode = "0440"; };
|
||||
sops.secrets.stalwart-git-password = { owner = "stalwart-mail"; group = "git"; mode = "0440"; };
|
||||
sops.secrets.stalwart-postmaster-password = { owner = "stalwart-mail"; group = "stalwart-mail"; };
|
||||
|
||||
services.nginx.virtualHosts."webadmin.kyren.codes" = {
|
||||
|
||||
Reference in New Issue
Block a user