magpie/gitea: switch to sqlite3
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user