server adjustment

This commit is contained in:
bogale 2026-10-26 00:22:30 +09:00
commit ba91796c3e
5 changed files with 13 additions and 19 deletions

View file

@ -49,10 +49,7 @@
};
};
nextcloud = {
config = {
adminpassFile = config.sops.secrets.nextcloud-pw.path;
dbtype = "pgsql";
};
config.dbtype = "pgsql";
database.createLocally = true;
enable = true;
hostName = "nextcloud-local";
@ -106,11 +103,7 @@
locations = {
"/".extraConfig = phpPool;
"/git/".proxyPass = "http://unix:/run/forgejo/forgejo.sock:/";
"/grafana/" = {
extraConfig = localNetworks;
proxyPass = "http://unix:/run/grafana/grafana.sock:/";
proxyWebsockets = true;
};
"/grafana/".proxyPass = "http://unix:/run/grafana/grafana.sock:/";
"/local/".extraConfig = "${phpPool} ${localNetworks}";
"/nextcloud/".proxyPass = "http://localhost:45837/";
"/vaultwarden/" = {
@ -177,8 +170,10 @@
};
};
sops.secrets = {
grafana-key = { };
nextcloud-pw = { };
grafana-key = {
group = "grafana";
mode = "0440";
};
vaultwarden-env = { };
};
}