about summary refs log tree commit diff
path: root/configurations/manwe
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configurations/manwe/default.nix5
-rw-r--r--configurations/manwe/webserver.nix1
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;

Consider giving Nix/NixOS a try! <3