feat: site lessons
runner nix smoke / nix label and flake smoke (push) Failing after 17s

This commit is contained in:
2026-09-15 19:48:13 +00:00
parent 417820544e
commit 88ec8a59d8
3 changed files with 61 additions and 1 deletions
+12
View File
@@ -58,6 +58,7 @@ in {
self.nixosModules."shadowsocks" # NOTE(nrv): usage/instance
inputs.hectic-landing.nixosModules.hectic-landing
inputs.iana-angl.nixosModules.iana-angl
(import ./attic.nix { inherit flake self inputs domain; })
(import ./containers.nix { inherit flake self inputs; })
@@ -76,6 +77,12 @@ in {
host = "127.0.0.1";
};
services.iana-angl = {
enable = true;
package = inputs.iana-angl.packages.${pkgs.stdenv.hostPlatform.system}.iana-angl;
domain = "lessons.${domain}";
};
# NOTE(yukkop): both nixos-mailserver and hectic-landing module set
# security.acme.defaults.email. Force the mailserver-aligned address.
security.acme.defaults.email = lib.mkForce "security@${domain}";
@@ -102,6 +109,7 @@ in {
Public = true;
AntiCheatPermission = 3;
AntiCheatSpeed = 3;
AntiCheatHit = 3;
};
sandboxProperties = {
StartMonth = 12;
@@ -378,6 +386,10 @@ in {
'';
};
};
virtualHosts."lessons.${domain}" = {
enableACME = true;
forceSSL = true;
};
virtualHosts."snuff.${domain}" = {
enableACME = true;
forceSSL = true;