gitea options

This commit is contained in:
zuckerberg 2021-06-13 19:10:14 -04:00
parent 365d3e3735
commit 9d655c1229
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ in {
config = lib.mkIf cfg.enable {
services.gitea = {
domain = cfg.hostname;
rootUrl = "https://${cfg.hostname}/";
appName = cfg.hostname;
ssh.enable = true;
# lfs.enable = true;
dump.enable = true;
@ -23,6 +25,7 @@ in {
};
};
};
services.nginx.enable = true;
services.nginx.virtualHosts.${cfg.hostname} = {
enableACME = true;
forceSSL = true;

View File

@ -23,6 +23,7 @@
services.gitea = {
enable = true;
hostname = "git.neet.dev";
disableRegistration = true;
};
networking.hostName = "liza";