fixes for oracle when updating to latest

This commit is contained in:
Noah Masur
2022-12-06 17:56:29 +00:00
parent 427bd1a421
commit 9b12369e43
7 changed files with 24 additions and 13 deletions

View File

@ -5,6 +5,7 @@
passwordHash = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "Password created with mkpasswd -m sha-512";
default = null;
# Test it by running: mkpasswd -m sha-512 --salt "PZYiMGmJIIHAepTM"
};

View File

@ -15,7 +15,7 @@
services.nextcloud = {
enable = true;
package = pkgs.nextcloud24; # Required to specify
package = pkgs.nextcloud25; # Required to specify
https = true;
hostName = "localhost";
maxUploadSize = "50G";

View File

@ -8,6 +8,10 @@
config = {
services.grafana.enable = true;
# Required to fix error in latest nixpkgs
services.grafana.settings = { };
services.prometheus = {
enable = true;
exporters.node.enable = true;

View File

@ -50,6 +50,10 @@
}];
}];
# Caddy and Transmission both try to set rmem_max for larger UDP packets.
# We will choose Transmission's recommendation (4 MB).
boot.kernel.sysctl."net.core.rmem_max" = 4194304;
# Allow inbound connections to reach namespace
systemd.services.transmission-web-netns = {
description = "Forward to transmission in wireguard namespace";

View File

@ -52,6 +52,7 @@ in {
handle = [{
handler = "reverse_proxy";
upstreams = [{ dial = "localhost:8222"; }];
headers.request.add."X-Real-IP" = [ "{http.request.remote.host}" ];
}];
}];