mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Enable nextcloud on alto
This commit is contained in:
parent
dd03ad4fde
commit
7c1275b0de
7 changed files with 241 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue