mirror of https://gitlab.crans.org/nounous/nixos
28 lines
498 B
Nix
28 lines
498 B
Nix
{ config, ... }:
|
|
{
|
|
name = "collabora";
|
|
description = "Collabora du Crans";
|
|
id = 149;
|
|
|
|
enable = true;
|
|
|
|
networking = {
|
|
srv-nat.enable = true;
|
|
};
|
|
|
|
reverseproxy.vhosts = {
|
|
"collabora" = {
|
|
proxyPass = config.networking.adm.ipv4.address;
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
|
|
monitoring = {
|
|
nginx.enable = true;
|
|
};
|
|
|
|
publicSsh = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFa2D9fREtO2r2oIx6q9JAKFUHtxGbgEPMjkx09DQSU8 root@collabora";
|
|
|
|
resticClient.enable = false;
|
|
}
|