feat(nextcloud): adding nextcloud)

This commit is contained in:
2025-09-16 10:15:32 +02:00
parent a843e806bd
commit d58ad62975
5 changed files with 159 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
{config, ...}: {
{ config, ... }:
{
server = {
enable = true;
email = "adam@cnst.dev";
@@ -52,6 +53,14 @@
credentialsFile = config.age.secrets.vaultwardenCloudflared.path;
};
};
nextcloud = {
enable = true;
url = "cloud.cnst.dev";
cloudflared = {
tunnelId = "fdd98086-6a4c-44f2-bba0-eb86b833cce5";
credentialsFile = config.age.secrets.nextcloudCloudflared.path;
};
};
fail2ban = {
enable = true;
apiKeyFile = config.age.secrets.cloudflareFirewallApiKey.path;