about summary refs log tree commit diff
path: root/users/tazjin/nixos/modules/predlozhnik.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/nixos/modules/predlozhnik.nix')
-rw-r--r--users/tazjin/nixos/modules/predlozhnik.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/tazjin/nixos/modules/predlozhnik.nix b/users/tazjin/nixos/modules/predlozhnik.nix
new file mode 100644
index 000000000000..db20963df1f2
--- /dev/null
+++ b/users/tazjin/nixos/modules/predlozhnik.nix
@@ -0,0 +1,10 @@
+# Host predlozhnik.ru, serving //users/tazjin/predlozhnik
+{ depot, ... }:
+
+{
+  services.nginx.virtualHosts."predlozhnik.ru" = {
+    root = depot.corp.russian.predlozhnik;
+    enableACME = true;
+    forceSSL = true;
+  };
+}