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