about summary refs log tree commit diff
path: root/configurations
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-09-20 02:42:46 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 02:42:46 +0300
commit783f2715f586559961a6440cc1617011ac365501 (patch)
treee82cdc172ccd21ffcd8dd77e818de1ef9023c974 /configurations
parent2022-09-16 (diff)
2022-09-20
Diffstat (limited to 'configurations')
-rw-r--r--configurations/manwe/default.nix5
-rw-r--r--configurations/manwe/webserver.nix1
-rw-r--r--configurations/varda/default.nix8
3 files changed, 10 insertions, 4 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;
diff --git a/configurations/varda/default.nix b/configurations/varda/default.nix
index c0789f5..ac7b493 100644
--- a/configurations/varda/default.nix
+++ b/configurations/varda/default.nix
@@ -7,10 +7,10 @@ with lib; {
   nixfiles.modules = {
     wireguard.client.enable = true;
 
-    games.minecraft.server = {
-      enable = true;
-      memory = "6G";
-    };
+    # games.minecraft.server = {
+    #   enable = true;
+    #   memory = "6G";
+    # };
 
     acme.enable = true;
   };

Consider giving Nix/NixOS a try! <3