hosts/ao: gitea.disableRegistration = true

And remove redundant config.
This commit is contained in:
Henrik Lissner 2021-02-01 19:50:55 -05:00
parent ffb097ce0c
commit e0c0006554
2 changed files with 1 additions and 4 deletions

View file

@ -8,10 +8,8 @@ with lib.my;
../personal.nix ../personal.nix
./hardware-configuration.nix ./hardware-configuration.nix
# ./modules/postgresql.nix
./modules/gitea.nix ./modules/gitea.nix
./modules/bitwarden.nix ./modules/bitwarden.nix
# ./modules/tinytinyrss.nix
]; ];

View file

@ -7,7 +7,7 @@
appName = "V-NOUGHT"; appName = "V-NOUGHT";
domain = "v0.io"; domain = "v0.io";
rootUrl = "https://git.v0.io/"; rootUrl = "https://git.v0.io/";
disableRegistration = false; disableRegistration = true;
settings = { settings = {
server.SSH_DOMAIN = "v0.io"; server.SSH_DOMAIN = "v0.io";
mailer = { mailer = {
@ -19,7 +19,6 @@
}; };
}; };
mailerPasswordFile = config.age.secrets.gitea-smtp.path; mailerPasswordFile = config.age.secrets.gitea-smtp.path;
database.type = "sqlite3";
}; };
services.nginx.virtualHosts."git.v0.io" = { services.nginx.virtualHosts."git.v0.io" = {