From 3ecf0b9d6997bc85ae712650629adb6a3ab59909 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 27 Jul 2022 23:59:44 +0300 Subject: feat(tazjin/polyanka): host predlozhnik.ru Change-Id: I190865e1bf560129d6345009b0ec0cc0d3d9cc9a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5987 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/nixos/modules/predlozhnik.nix | 10 ++++++++++ users/tazjin/nixos/polyanka/default.nix | 1 + 2 files changed, 11 insertions(+) create mode 100644 users/tazjin/nixos/modules/predlozhnik.nix (limited to 'users/tazjin/nixos') 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; + }; +} diff --git a/users/tazjin/nixos/polyanka/default.nix b/users/tazjin/nixos/polyanka/default.nix index fc30b823735e..95d1214ab3ba 100644 --- a/users/tazjin/nixos/polyanka/default.nix +++ b/users/tazjin/nixos/polyanka/default.nix @@ -14,6 +14,7 @@ in (mod "quassel.nix") (mod "www/base.nix") (usermod "tgsa.nix") + (usermod "predlozhnik.nix") ]; # Use the GRUB 2 boot loader. -- cgit 1.4.1