all repos — nixfiles @ 3406bb512ede684fabba651ae2a8cf0bb6d9f26a

System and user configuration, managed by nix and home-manager

linde: set up mycal

Alan Pearce
commit

3406bb512ede684fabba651ae2a8cf0bb6d9f26a

parent

4cb77284844607f871e9faf134db2b121dee1c8b

1 file changed, 18 insertions(+), 0 deletions(-)

changed files
M system/linde.nixsystem/linde.nix
@@ -231,6 +231,14 @@ enable = true;
tailscaleAuthKeyFile = config.age.secrets.golink.path; }; + services.mycal = { + enable = true; + port = 8002; + + timezone = "Europe/Berlin"; + name = "Alin"; + }; + services.journald.extraConfig = '' MaxRetentionSec=1 month '';
@@ -601,6 +609,16 @@ file_server browse
} ''; }; + "cal.${domain}" = { + extraConfig = + let + srv = config.services.mycal; + in + '' + encode zstd gzip + reverse_proxy ${srv.host}:${toString srv.port} + ''; + }; "stats.${domain}" = let srv = config.services.goatcounter;