--wip-- [skip ci]

This commit is contained in:
Filippo Berto 2023-05-06 04:07:06 +02:00
parent d662a4c8ea
commit 1ff5f9d7d2
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
2 changed files with 8 additions and 3 deletions

View file

@ -1,6 +1,4 @@
{ pkgs, lib, ... }:
with lib; {
{ pkgs, ... }: {
boot = {
growPartition = true;
kernelParams = [ "console=ttyS0" "panic=1" "boot.panic_on_fail" ];
@ -123,6 +121,12 @@ with lib; {
proxyWebsockets = true;
};
};
"my-nextcloud.bertof.net" = ssl // {
locations."/" = {
proxyPass = "http://freya.local:80/";
proxyWebsockets = true;
};
};
};
};
openssh = {

View file

@ -16,6 +16,7 @@
hostName = "freya.local";
maxUploadSize = "32G";
config.trustedProxies = [ "172.23.4.159" ];
config.adminpassFile = config.age.secrets.nextcloud_admin_secret.path;
config.objectstore.s3 = {
enable = true;