diff options
author | Azat Bahawi <azat@bahawi.net> | 2022-09-20 02:42:46 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-09-20 02:42:46 +0300 |
commit | 783f2715f586559961a6440cc1617011ac365501 (patch) | |
tree | e82cdc172ccd21ffcd8dd77e818de1ef9023c974 /configurations/manwe | |
parent | 2022-09-16 (diff) |
2022-09-20
Diffstat (limited to 'configurations/manwe')
-rw-r--r-- | configurations/manwe/default.nix | 5 | ||||
-rw-r--r-- | configurations/manwe/webserver.nix | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/configurations/manwe/default.nix b/configurations/manwe/default.nix index 47a2040..5531cb9 100644 --- a/configurations/manwe/default.nix +++ b/configurations/manwe/default.nix @@ -23,6 +23,11 @@ with lib; { monitoring.enable = true; + git.server = { + enable = true; + domain = "git.${my.domain.azahi}"; + }; + gotify.enable = true; matrix.dendrite = { enable = true; diff --git a/configurations/manwe/webserver.nix b/configurations/manwe/webserver.nix index fd23432..8c68441 100644 --- a/configurations/manwe/webserver.nix +++ b/configurations/manwe/webserver.nix @@ -7,6 +7,7 @@ with lib; { config.nixfiles.modules.nginx.virtualHosts = with my.domain; { ${shire}.locations."/".return = "301 https://www.youtube.com/watch?v=dQw4w9WgXcQ"; + "git.${shire}".locations."/".return = "301 https://git.azahi.cc"; ${azahi} = { serverAliases = ["frodo.${gondor}" "frodo.${rohan}"]; locations."/".root = inputs.azahi-cc; |