diff options
author | Vincent Ambo <mail@tazj.in> | 2022-07-27T20·59+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-07-27T21·54+0000 |
commit | 3ecf0b9d6997bc85ae712650629adb6a3ab59909 (patch) | |
tree | 43c1d5615bab9d9d8b87ed921cfdf3961a6802e2 /users/tazjin/nixos | |
parent | 0fd850045233877b3805613f49ea9eec0f8bd18f (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')
-rw-r--r-- | users/tazjin/nixos/modules/predlozhnik.nix | 10 | ||||
-rw-r--r-- | users/tazjin/nixos/polyanka/default.nix | 1 |
2 files changed, 11 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; + }; +} 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. |