feat: enable the whiteboard
All checks were successful
Build_Deploy / linter (push) Successful in 3m48s
Build_Deploy / build (push) Successful in 31s
Build_Deploy / deploy_dns (push) Successful in 1m49s
Build_Deploy / deploy_active (active) (push) Successful in 2m47s
Build_Deploy / deploy_active (active-core) (push) Successful in 3m54s
Build_Deploy / deploy_active (active-ext) (push) Successful in 1m35s

This commit is contained in:
silver 2025-01-06 16:47:23 +00:00
parent ba8b148784
commit 078e12cbd7
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -59,11 +59,11 @@ in {
r_type = "CNAME";
value = config.services.skynet.host.name;
}
# {
# record = "whiteboard.${cfg.domain.sub}";
# r_type = "CNAME";
# value = config.services.skynet.host.name;
# }
{
record = "whiteboard.${cfg.domain.sub}";
r_type = "CNAME";
value = config.services.skynet.host.name;
}
];
# /var/lib/nextcloud/data
@ -87,6 +87,7 @@ in {
extraApps = {
inherit (config.services.nextcloud.package.packages.apps) richdocuments;
};
extraAppsEnable = true;
settings = {
trusted_proxies = ["193.1.99.65"];
@ -96,15 +97,15 @@ in {
};
};
# environment.etc."nextcloud-whiteboard-secret".text = ''
# JWT_SECRET_KEY=test123
# '';
#
# services.nextcloud-whiteboard-server = {
# enable = true;
# settings.NEXTCLOUD_URL = "https://nextcloud.skynet.ie";
# secrets = ["/etc/nextcloud-whiteboard-secret"];
# };
environment.etc."nextcloud-whiteboard-secret".text = ''
JWT_SECRET_KEY=test123
'';
services.nextcloud-whiteboard-server = {
enable = true;
settings.NEXTCLOUD_URL = "https://nextcloud.skynet.ie";
secrets = ["/etc/nextcloud-whiteboard-secret"];
};
nixpkgs.config.allowUnfree = true;
# impacted by https://github.com/NixOS /nixpkgs/issues/352443
@ -122,14 +123,14 @@ in {
useACMEHost = "skynet";
locations."/".proxyPass = "http://127.0.0.1:8000";
};
# "whiteboard.${domain}" = {
# forceSSL = true;
# useACMEHost = "skynet";
# locations."/" = {
# proxyPass = "http://localhost:3002";
# proxyWebsockets = true;
# };
# };
"whiteboard.${domain}" = {
forceSSL = true;
useACMEHost = "skynet";
locations."/" = {
proxyPass = "http://localhost:3002";
proxyWebsockets = true;
};
};
};
};
}