feat(tazjin/polyanka): host predlozhnik.ru
Change-Id: I190865e1bf560129d6345009b0ec0cc0d3d9cc9a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5987 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
0fd8500452
commit
3ecf0b9d69
2 changed files with 11 additions and 0 deletions
10
users/tazjin/nixos/modules/predlozhnik.nix
Normal file
10
users/tazjin/nixos/modules/predlozhnik.nix
Normal file
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -14,6 +14,7 @@ in
|
||||||
(mod "quassel.nix")
|
(mod "quassel.nix")
|
||||||
(mod "www/base.nix")
|
(mod "www/base.nix")
|
||||||
(usermod "tgsa.nix")
|
(usermod "tgsa.nix")
|
||||||
|
(usermod "predlozhnik.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
|
|
Loading…
Reference in a new issue