magpie/gitea: switch to sqlite3

This commit is contained in:
2023-10-17 23:51:20 +02:00
parent a5000b9889
commit fdc36b2708
2 changed files with 28 additions and 2 deletions

View File

@@ -159,8 +159,8 @@
enable = true;
appName = "Project Cloud Gitea server";
database = {
type = "postgres";
passwordFile = config.sops.secrets."postgres/gitea_dbpass".path;
type = "sqlite3";
passwordFile = config.sops.secrets."gitea_db".path;
};
settings.server = {
DOMAIN = "git.project-cloud.net";
@@ -220,6 +220,11 @@
sopsFile = ./secrets/gitea_mail_pw_hash.yaml;
};
sops.secrets."gitea_db" = {
sopsFile = ./secrets/gitea_db.yaml;
owner = config.users.users.gitea.name;
};
networking.hostName = "magpie";
networking.wireless.enable = false;
networking.firewall.enable = true;