about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/tazjin/nixos/koptevo/default.nix13
1 files changed, 11 insertions, 2 deletions
diff --git a/users/tazjin/nixos/koptevo/default.nix b/users/tazjin/nixos/koptevo/default.nix
index 7bc47d973971..58f26d8ae1f9 100644
--- a/users/tazjin/nixos/koptevo/default.nix
+++ b/users/tazjin/nixos/koptevo/default.nix
@@ -11,8 +11,6 @@ in
   imports = [
     (mod "quassel.nix")
     (mod "www/base.nix")
-    # (usermod "tgsa.nix")
-    # (usermod "predlozhnik.nix")
   ];
 
   boot = {
@@ -100,6 +98,17 @@ in
     preserveGenerations = "14d";
   };
 
+  services.nginx.virtualHosts."koptevo.tazj.in" = {
+    addSSL = true;
+    enableACME = true;
+
+    extraConfig = ''
+      location = / {
+        return 302 https://at.tvl.fyi/?q=%2F%2Fusers%2Ftazjin%2Fnixos%2Fkoptevo%2Fdefault.nix;
+      }
+    '';
+  };
+
   # List packages installed in system profile. To search, run:
   # $ nix search wget
   environment.systemPackages = with pkgs; [