about summary refs log tree commit diff
path: root/users/tazjin/nixos/modules/predlozhnik.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-07-27T20·59+0300
committertazjin <tazjin@tvl.su>2022-07-27T21·54+0000
commit3ecf0b9d6997bc85ae712650629adb6a3ab59909 (patch)
tree43c1d5615bab9d9d8b87ed921cfdf3961a6802e2 /users/tazjin/nixos/modules/predlozhnik.nix
parent0fd850045233877b3805613f49ea9eec0f8bd18f (diff)
feat(tazjin/polyanka): host predlozhnik.ru r/4332
Change-Id: I190865e1bf560129d6345009b0ec0cc0d3d9cc9a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5987
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
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..df402ce29979
--- /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.users.tazjin.predlozhnik;
+    enableACME = true;
+    forceSSL = true;
+  };
+}