feat(fun/solves-this): add, deploy to public01

This builds the important website for both snix.systems and its
predecessor, tvix.systems.

Change-Id: I4cce5595098c804bd4df0cc2ae3c05344138e7b1
Reviewed-on: https://cl.snix.dev/c/snix/+/30502
Autosubmit: Florian Klink <flokli@flokli.de>
Reviewed-by: Ryan Lahfa <ryan@lahfa.xyz>
Tested-by: besadii
This commit is contained in:
Florian Klink 2025-05-12 16:53:00 +03:00 committed by clbot
parent a11099fd1c
commit e285cbe8cf
6 changed files with 75 additions and 0 deletions

View file

@ -20,6 +20,7 @@ in
(mod "www/auth.snix.dev.nix")
(mod "www/git.snix.dev.nix")
(mod "www/cache.snix.dev.nix")
(mod "www/snix.systems.nix")
(mod "known-hosts.nix")
(depot.third_party.agenix.src + "/modules/age.nix")

View file

@ -0,0 +1,20 @@
{ depot, ... }:
{
imports = [
./base.nix
];
config = {
services.nginx.virtualHosts."snix.systems" = {
enableACME = true;
forceSSL = true;
root = depot.fun.solves-this.snix;
};
services.nginx.virtualHosts."tvix.systems" = {
enableACME = true;
forceSSL = true;
root = depot.fun.solves-this.tvix;
};
};
}