removed redundant files
This commit is contained in:
parent
8a504a00b6
commit
c6cd05576d
|
@ -1,44 +0,0 @@
|
||||||
{...}: let
|
|
||||||
host = "127.0.0.1";
|
|
||||||
port = 8082;
|
|
||||||
in {
|
|
||||||
services.homepage-dashboard = {
|
|
||||||
enable = true;
|
|
||||||
listenPort = port;
|
|
||||||
openFirewall = false;
|
|
||||||
widgets = [
|
|
||||||
{
|
|
||||||
resources = {
|
|
||||||
cpu = true;
|
|
||||||
disk = "/";
|
|
||||||
memory = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
services = [
|
|
||||||
{
|
|
||||||
"WebUI" = [
|
|
||||||
{
|
|
||||||
"Jellyfin" = {
|
|
||||||
description = "Jellyfin";
|
|
||||||
href = "https://media.spoodythe.one";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."dashboard.spoodythe.one" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://${host}:${toString port}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Open port 80 and 443 for reverse proxy
|
|
||||||
networking.firewall.allowedTCPPorts = [80 443];
|
|
||||||
networking.firewall.allowedUDPPorts = [80 443];
|
|
||||||
}
|
|
|
@ -1,28 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
host = "127.0.0.1";
|
|
||||||
port = 8008;
|
|
||||||
in {
|
|
||||||
services.seafile = {
|
|
||||||
enable = true;
|
|
||||||
adminEmail = "snorre@altschul.dk";
|
|
||||||
seahubAddress = "http://${host}:${toString port}";
|
|
||||||
# seafileSettings.fileserver = {
|
|
||||||
# inherit host port;
|
|
||||||
# };
|
|
||||||
};
|
|
||||||
services.nginx.virtualHosts."files.spoodythe.one" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://${host}:${toString port}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Open port 80 and 443 for reverse proxy
|
|
||||||
networking.firewall.allowedTCPPorts = [80 443];
|
|
||||||
networking.firewall.allowedUDPPorts = [80 443];
|
|
||||||
}
|
|
Loading…
Reference in a new issue