feat(ops/modules): Redirect machine base names to their config

With this change, entering just "whitby.tvl.fyi" or "sanduny.tvl.su"
in a browser will redirect users to their machine configurations.

Change-Id: Ibf076a469bcce073e1b1970aa568d6fe16a5c75a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5304
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: tazjin <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2022-02-17 18:34:00 +03:00 committed by clbot
parent f4f1d97052
commit b936843bb0
4 changed files with 35 additions and 0 deletions

View file

@ -15,6 +15,7 @@ in
{
imports = [
(mod "tvl-users.nix")
(mod "www/sanduny.tvl.su.nix")
];
networking = {