feat(sterni/machines): add edwin

This adds edwin, the machine running sterni.lv, as well as my
idiosyncratic deployment solution. It is based on instantiating the
system configuration locally (where you'd work on the configuration),
copying the derivation files to the remote machine where the system
derivation is realised and deployed. Unfortunately, the first step tends
to be quite slow (despite gzip compression), so this may not be the
definite way despite its advantages.

Change-Id: I30f597692338df3981e01a1b7eee9cdad48f94cb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7293
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2022-06-06 12:37:11 +02:00
parent 7b4a545699
commit 2490ce968c
18 changed files with 693 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ depot, ... }:
{
config = {
services.spacecookie = {
enable = true;
openFirewall = true;
settings = {
hostname = "sterni.lv";
root = depot.users.sterni.lv.gopher;
log = {
enable = true;
hide-ips = true;
hide-time = true;
};
};
};
};
}