Fix for 25.11
This commit is contained in:
parent
2fe3646a70
commit
abedbb7db8
4 changed files with 7 additions and 5 deletions
|
|
@ -23,6 +23,9 @@ let
|
||||||
customOverlays
|
customOverlays
|
||||||
];
|
];
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
|
config.permittedInsecurePackages = [
|
||||||
|
"mbedtls-2.28.10" # Required by shadowsocks-libev
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Helper function to create a Proxmox LXC host
|
# Helper function to create a Proxmox LXC host
|
||||||
|
|
|
||||||
|
|
@ -132,8 +132,8 @@ in
|
||||||
|
|
||||||
grafana-image-renderer = {
|
grafana-image-renderer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings.browser.path = lib.getExe pkgs.ungoogled-chromium;
|
||||||
provisionGrafana = true;
|
provisionGrafana = true;
|
||||||
chromium = pkgs.ungoogled-chromium;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
postgresql = {
|
postgresql = {
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ in
|
||||||
(lib.mkIf cfg.proxy.enable {
|
(lib.mkIf cfg.proxy.enable {
|
||||||
services.caddy = with cfg.proxy; {
|
services.caddy = with cfg.proxy; {
|
||||||
virtualHosts."${subdomain}.${domain}".extraConfig = ''
|
virtualHosts."${subdomain}.${domain}".extraConfig = ''
|
||||||
reverse_proxy http://${host}:${services.n8n.environment.N8N_PORT}
|
reverse_proxy http://${host}:${config.services.n8n.environment.N8N_PORT}
|
||||||
import cloudflare_${domain}
|
import cloudflare_${domain}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,8 +76,7 @@ in
|
||||||
package = pkgs.nextcloud32;
|
package = pkgs.nextcloud32;
|
||||||
hostName = "cloud.${cfg.proxy.domain}";
|
hostName = "cloud.${cfg.proxy.domain}";
|
||||||
https = true;
|
https = true;
|
||||||
nginx.recommendedHttpHeaders = true;
|
|
||||||
|
|
||||||
secretFile = cfg.secretFile;
|
secretFile = cfg.secretFile;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -92,7 +91,7 @@ in
|
||||||
mail_domain = cfg.proxy.domain;
|
mail_domain = cfg.proxy.domain;
|
||||||
mail_smtphost = "smtp.tem.scaleway.com";
|
mail_smtphost = "smtp.tem.scaleway.com";
|
||||||
mail_smtpport = 465;
|
mail_smtpport = 465;
|
||||||
mail_smtpauth = "true";
|
mail_smtpauth = true;
|
||||||
enabledPreviewProviders = [
|
enabledPreviewProviders = [
|
||||||
"OC\\Preview\\BMP"
|
"OC\\Preview\\BMP"
|
||||||
"OC\\Preview\\GIF"
|
"OC\\Preview\\GIF"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue