testing: to see if we can get a whiteboard working
Some checks failed
Build_Deploy / linter (push) Successful in 6s
Build_Deploy / deploy_dns (push) Has been cancelled
Build_Deploy / deploy_active (active) (push) Has been cancelled
Build_Deploy / deploy_active (active-core) (push) Has been cancelled
Build_Deploy / deploy_active (active-ext) (push) Has been cancelled
Build_Deploy / build (push) Has been cancelled

This commit is contained in:
silver 2024-11-01 23:16:45 +00:00
parent dadc9845b0
commit abf5571edb
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -45,6 +45,7 @@ in {
services.skynet.acme.domains = [ services.skynet.acme.domains = [
domain domain
"onlyoffice.${domain}" "onlyoffice.${domain}"
"whiteboard.${domain}"
]; ];
services.skynet.dns.records = [ services.skynet.dns.records = [
@ -58,13 +59,18 @@ in {
r_type = "CNAME"; r_type = "CNAME";
value = config.services.skynet.host.name; value = config.services.skynet.host.name;
} }
# {
# record = "whiteboard.${cfg.domain.sub}";
# r_type = "CNAME";
# value = config.services.skynet.host.name;
# }
]; ];
# /var/lib/nextcloud/data # /var/lib/nextcloud/data
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
package = pkgs.nextcloud28; package = pkgs.nextcloud30;
hostName = domain; hostName = domain;
https = true; https = true;
@ -78,8 +84,8 @@ in {
appstoreEnable = true; appstoreEnable = true;
extraApps = with config.services.nextcloud.package.packages.apps; { extraApps = {
inherit forms groupfolders maps notes onlyoffice polls; inherit (config.services.nextcloud.package.packages.apps) richdocuments;
}; };
settings = { settings = {
@ -90,7 +96,18 @@ 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"];
# };
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# impacted by https://github.com/NixOS /nixpkgs/issues/352443
services.onlyoffice = { services.onlyoffice = {
enable = true; enable = true;
}; };
@ -105,6 +122,14 @@ in {
useACMEHost = "skynet"; useACMEHost = "skynet";
locations."/".proxyPass = "http://127.0.0.1:8000"; locations."/".proxyPass = "http://127.0.0.1:8000";
}; };
# "whiteboard.${domain}" = {
# forceSSL = true;
# useACMEHost = "skynet";
# locations."/" = {
# proxyPass = "http://localhost:3002";
# proxyWebsockets = true;
# };
# };
}; };
}; };
} }