Replace gitea with forgejo in place

This commit is contained in:
Lillian Violet 2024-01-02 12:08:24 +01:00
parent 025312cc5b
commit 1a966afd29
2 changed files with 5 additions and 2 deletions

View file

@ -17,7 +17,7 @@
# ./nvim.nix # ./nvim.nix
./hardware-configuration.nix ./hardware-configuration.nix
../../package-configs/akkoma/configuration.nix ../../package-configs/akkoma/configuration.nix
../../package-configs/gitea/configuration.nix ../../package-configs/forgejo/configuration.nix
../../package-configs/gotosocial/configuration.nix ../../package-configs/gotosocial/configuration.nix
../../package-configs/mail-server/configuration.nix ../../package-configs/mail-server/configuration.nix
../../package-configs/nextcloud/configuration.nix ../../package-configs/nextcloud/configuration.nix

View file

@ -17,11 +17,14 @@
sops.secrets."mailpassunhash".mode = "0440"; sops.secrets."mailpassunhash".mode = "0440";
sops.secrets."mailpassunhash".owner = config.users.users.virtualMail.name; sops.secrets."mailpassunhash".owner = config.users.users.virtualMail.name;
services.gitea = { services.forgejo = {
enable = true; enable = true;
user = "gitea";
stateDir = "/var/lib/gitea";
#TODO: different mail passwords for different services #TODO: different mail passwords for different services
mailerPasswordFile = config.sops.secrets."mailpassunhash".path; mailerPasswordFile = config.sops.secrets."mailpassunhash".path;
database = { database = {
user = "gitea";
type = "postgres"; type = "postgres";
}; };
settings = { settings = {