about summary refs log tree commit diff
path: root/configurations/manwe
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-10-20 01:36:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-10-20 01:36:00 +0300
commit2161e67026139fe91ef0e38c255d2fc63e739be3 (patch)
tree1d8c5d276614d2045c5dea429de0f61d0602b37d /configurations/manwe
parent2022-10-08 (diff)
2022-10-20
Diffstat (limited to 'configurations/manwe')
-rw-r--r--configurations/manwe/default.nix2
-rw-r--r--configurations/manwe/webserver.nix3
2 files changed, 4 insertions, 1 deletions
diff --git a/configurations/manwe/default.nix b/configurations/manwe/default.nix
index db08c3f..b8dd324 100644
--- a/configurations/manwe/default.nix
+++ b/configurations/manwe/default.nix
@@ -23,6 +23,8 @@ with lib; {
 
     monitoring.enable = true;
 
+    postgresql.enable = true;
+
     git.server = {
       enable = true;
       domain = "git.${my.domain.azahi}";
diff --git a/configurations/manwe/webserver.nix b/configurations/manwe/webserver.nix
index 8c68441..dde3e63 100644
--- a/configurations/manwe/webserver.nix
+++ b/configurations/manwe/webserver.nix
@@ -7,7 +7,8 @@ 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";
+      "git.${shire}".locations."/".return = "301 https://git.${azahi}";
+      "bitwarden.${shire}".locations."/".return = "301 https://vaultwarden.${shire}";
       ${azahi} = {
         serverAliases = ["frodo.${gondor}" "frodo.${rohan}"];
         locations."/".root = inputs.azahi-cc;

Consider giving Nix/NixOS a try! <3