nixos/hosts/vm/nextcloud/info.nix

32 lines
575 B
Nix

{ config, ... }:
{
name = "nextcloud";
description = "Nextcloud du Crans";
id = 146;
enable = true;
networking = {
srv-nat = {
enable = true;
interface = "ens20";
};
san = {
enable = true;
interface = "ens19";
};
};
reverseproxy.vhosts."nextcloud".proxyPass = config.networking.adm.ipv4.address;
homeAdh.enable = true;
monitoring = {
nginx.enable = true;
};
publicSsh = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMgSP9UmuJw8Bi2ML07WHsWvxN8akkc9XZxXyOgdjXkq root@nextcloud";
resticClient.enable = false;
}