added pufferpannel, yoy

This commit is contained in:
Freecorn 2024-09-14 00:31:05 -06:00
parent 58d5261804
commit fb80c1dba8

View file

@ -101,6 +101,29 @@ in
user = "freecorn"; user = "freecorn";
}; };
# PufferPannel
services = {
pufferpanel = {
enable = true;
environment = {
PUFFER_WEB_HOST = ":5010";
PUFFER_PANEL_SETTINGS_MASTERURL = "https://ppanel.${secrets.cornDomain}";
# PUFFER_PANEL_EMAIL_PROVIDER = "smtp";
# PUFFER_PANEL_EMAIL_HOST = "mx.${outputs.secrets.jimDomain}:587";
# PUFFER_PANEL_EMAIL_FROM = "noreply@${outputs.secrets.jimDomain}";
# PUFFER_PANEL_EMAIL_USERNAME = "noreply@${outputs.secrets.jimDomain}";
# PUFFER_PANEL_EMAIL_PASSWORD = outputs.secrets.noreplyPassword;
};
extraPackages = with pkgs; [ bash curl gawk gnutar gzip ];
package = pkgs.buildFHSEnv {
name = "pufferpanel-fhs";
meta.mainProgram = "pufferpanel-fhs";
runScript = lib.getExe pkgs.pufferpanel;
targetPkgs = pkgs': with pkgs'; [ icu openssl zlib ];
};
};
};
# NGINX :3 # NGINX :3
services.nginx = { services.nginx = {
enable = true; enable = true;
@ -128,11 +151,11 @@ in
}; };
# websdr server # websdr server
"websdr.${secrets.cornDomain}" = { "ppannel.${secrets.cornDomain}" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:8073"; proxyPass = "http://127.0.0.1:5010";
proxyWebsockets = true; proxyWebsockets = true;
}; };
}; };
@ -211,7 +234,7 @@ in
git git
rtl-sdr rtl-sdr
steam-run steam-run
openwebrx # openwebrx
qbittorrent qbittorrent
]; ];