Enable nextcloud on alto

This commit is contained in:
SebastianStork 2025-04-09 20:35:04 +02:00
parent dd03ad4fde
commit 7c1275b0de
7 changed files with 241 additions and 4 deletions

View file

@ -1,3 +1,7 @@
{ config, ... }:
let
myCfg = config.myConfig;
in
{
system.stateVersion = "24.11";
@ -8,6 +12,17 @@
enable = true;
ssh.enable = true;
exitNode.enable = true;
caddyServe.nextcloud = {
subdomain = "cloud";
inherit (myCfg.nextcloud) port;
};
};
nextcloud = {
enable = true;
backups.enable = true;
inherit (myCfg.tailscale.caddyServe.nextcloud) subdomain;
};
};
}