This commit is contained in:
2025-05-16 12:57:48 +02:00
parent cbbd7f6535
commit 2c4f639be0

View File

@@ -31,7 +31,6 @@
wrapProgram $out/bin/smartrss --prefix PATH : '${lib.makeBinPath propagatedBuildInputs}' wrapProgram $out/bin/smartrss --prefix PATH : '${lib.makeBinPath propagatedBuildInputs}'
"; ";
}; };
in { in {
# Make it use predictable interface names starting with eth0 # Make it use predictable interface names starting with eth0
boot.kernelParams = ["net.ifnames=0"]; boot.kernelParams = ["net.ifnames=0"];
@@ -110,16 +109,6 @@ in {
}; };
}; };
# virtualHosts."suwayomi.sdg.moe" = {
# enableACME = true;
# forceSSL = true;
# locations."/" = {
# proxyPass = "http://localhost:4677";
# proxyWebsockets = true;
# extraConfig = "proxy_pass_header Authorization;";
# };
# };
virtualHosts."reader.sdg.moe" = { virtualHosts."reader.sdg.moe" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
@@ -142,6 +131,16 @@ in {
''; '';
}; };
}; };
virtualHosts."grafana.sdg.moe" = {
enableACME = true;
addSSL = true;
location."/" = {
proxyPass = "http://localhost:1892";
proxyWebsockets = true;
recommendedProxySettings = true;
};
};
}; };
security.acme = { security.acme = {
acceptTerms = true; acceptTerms = true;
@@ -194,16 +193,18 @@ in {
}; };
}; };
# services.suwayomi-server = { services.opentelemetry-collector = {
# enable = true; enable = true;
# settings.server = { };
# port = 4677;
# # basicAuthEnabled = true; services.grafana = {
# # basicAuthUsername = "zoriya"; enable = true;
# # basicAuthPasswordFile = ../../password/zoriya; settings = {
# extensionRepos = ["https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json"]; server = {
# downloadAsCbz = true; http_addr = "localhost";
# }; http_port = 1892;
# dataDir = "/mnt/kyoo/manga"; domain = "grafana.sdg.moe";
# }; };
};
};
} }