diff --git a/services/homepage.nix b/services/homepage.nix deleted file mode 100644 index f53e402..0000000 --- a/services/homepage.nix +++ /dev/null @@ -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]; -} diff --git a/services/seafile.nix b/services/seafile.nix deleted file mode 100644 index 77e242c..0000000 --- a/services/seafile.nix +++ /dev/null @@ -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]; -}