mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Enable hedgedoc on alto
This commit is contained in:
parent
7c1275b0de
commit
6d9652bcc2
4 changed files with 117 additions and 7 deletions
|
|
@ -1,7 +1,8 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
myCfg = config.myConfig;
|
||||
in
|
||||
caddyServe = myCfg.tailscale.caddyServe;
|
||||
in
|
||||
{
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
|
|
@ -13,16 +14,27 @@ let
|
|||
ssh.enable = true;
|
||||
exitNode.enable = true;
|
||||
|
||||
caddyServe.nextcloud = {
|
||||
subdomain = "cloud";
|
||||
inherit (myCfg.nextcloud) port;
|
||||
caddyServe = {
|
||||
nextcloud = {
|
||||
subdomain = "cloud";
|
||||
inherit (myCfg.nextcloud) port;
|
||||
};
|
||||
hedgedoc = {
|
||||
subdomain = "docs";
|
||||
inherit (myCfg.hedgedoc) port;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nextcloud = {
|
||||
enable = true;
|
||||
backups.enable = true;
|
||||
inherit (myCfg.tailscale.caddyServe.nextcloud) subdomain;
|
||||
inherit (caddyServe.nextcloud) subdomain;
|
||||
};
|
||||
hedgedoc = {
|
||||
enable = true;
|
||||
backups.enable = true;
|
||||
inherit (caddyServe.hedgedoc) subdomain;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue