nixos/hosts/vm/periodique/info.nix

28 lines
568 B
Nix

{ config, lib, ... }:
{
name = "periodique";
description = "Frontend Matrix du Crans (element)";
id = 118;
enable = true;
networking = {
srv-nat.enable = true;
};
reverseproxy.vhosts = {
"element".proxyPass = config.networking.adm.ipv4.address;
"matrix-to".serveLocalFiles = lib.fetchFromCrans {
repo = "matrixto";
rev = "bd639c5e0d7664dcd44d07ef70abb5f59919f714";
hash = "sha256-kiK4lGF8RCioKYWoM8CPiDLuESxenXQvo33ns1hDMwc=";
};
};
monitoring = {
nginx.enable = true;
};
resticClient.when = "02:56";
}