Replace gitea with forgejo in place
This commit is contained in:
parent
025312cc5b
commit
1a966afd29
|
@ -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
|
||||||
|
|
|
@ -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 = {
|
Loading…
Reference in a new issue