feat(tazjin/koptevo): provision certificate (for quassel)

With this commit, Quassel becomes operative on koptevo.

Change-Id: Ic877c5bb1525cf5288b0091cb0cd1328b5276264
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8788
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2023-06-15 23:20:56 +03:00 committed by tazjin
parent 8fc29668b1
commit 9bec557b33

View file

@ -11,8 +11,6 @@ in
imports = [
(mod "quassel.nix")
(mod "www/base.nix")
# (usermod "tgsa.nix")
# (usermod "predlozhnik.nix")
];
boot = {
@ -100,6 +98,17 @@ in
preserveGenerations = "14d";
};
services.nginx.virtualHosts."koptevo.tazj.in" = {
addSSL = true;
enableACME = true;
extraConfig = ''
location = / {
return 302 https://at.tvl.fyi/?q=%2F%2Fusers%2Ftazjin%2Fnixos%2Fkoptevo%2Fdefault.nix;
}
'';
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [