all repos — nixfiles @ 4c0b7383ff18d2c9934365562f7aab0a3c4e05a2

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

extract mycal configuration into calendar-anonymiser role

Alin
commit

4c0b7383ff18d2c9934365562f7aab0a3c4e05a2

parent

4c02d0f4da64b83486d5f7b3b562a05514569f4e

1 file changed, 1 insertion(+), 25 deletions(-)

changed files
M system/hosts/linde.nix → system/hosts/linde.nix
@@ -22,7 +22,6 @@ net-mask6 = 64;
net-gw6 = "fe80::1"; domain = "alin.ovh"; oldDomain = "alanpearce.eu"; - email = "alan@alanpearce.eu"; in { imports = [
@@ -33,6 +32,7 @@ ../roles/server.nix
../roles/reverse-proxy.nix ../roles/auth-dns.nix ../roles/binary-cache.nix + ../roles/calendar-anonymiser.nix ../roles/forgejo-runner.nix ../roles/goatcounter.nix ../roles/mailer.nix
@@ -178,17 +178,6 @@ DNSSEC = true;
}; }; systemd.network.wait-online.enable = lib.mkForce true; - - services.mycal = { - enable = true; - port = 8002; - - settings = { - timezone = config.time.timeZone; - name = "Alin"; - inherit email; - }; - }; zramSwap = { enable = true;
@@ -306,19 +295,6 @@ ${security-headers { }}
root * /srv/http/files file_server browse ''; - }; - "cal.${domain}" = { - extraConfig = - let - srv = config.services.mycal; - in - '' - encode zstd gzip - cache { - ttl 15m - } - reverse_proxy ${srv.host}:${toString srv.port} - ''; }; "go.${domain}" = { extraConfig = ''