diff --git a/features/caddy.nix b/features/caddy.nix index daaf8b4..7c63b5f 100644 --- a/features/caddy.nix +++ b/features/caddy.nix @@ -6,14 +6,6 @@ reverse_proxy :8082 ''; - virtualHosts.":3001".extraConfig = '' - reverse_proxy :3000 - ''; - - virtualHosts.":4001".extraConfig = '' - reverse_proxy :4000 - ''; - virtualHosts.":5050".extraConfig = '' reverse_proxy :8083 ''; diff --git a/features/grafana.nix b/features/grafana.nix index ecf839b..36f06ec 100644 --- a/features/grafana.nix +++ b/features/grafana.nix @@ -4,7 +4,7 @@ enable = true; settings = { server = { - http_addr = "127.0.0.1"; + http_addr = "0.0.0.0"; http_port = 3000; }; }; diff --git a/features/uptime-kuma.nix b/features/uptime-kuma.nix index c66d2ae..7c6ab9f 100644 --- a/features/uptime-kuma.nix +++ b/features/uptime-kuma.nix @@ -4,6 +4,7 @@ services.uptime-kuma = { enable = true; settings = { + HOST = "0.0.0.0"; PORT = "4000"; }; }; diff --git a/server-configuration.nix b/server-configuration.nix index 88c95b3..f592eaf 100644 --- a/server-configuration.nix +++ b/server-configuration.nix @@ -52,7 +52,7 @@ in enable = true; allowedTCPPorts = [ 22 # ssh - 3001 # grafana + 3000 # grafana 4001 # uptime-kuma 5030 # slskd 8080 # searxng @@ -74,6 +74,7 @@ in extraPackages = [ ]; jails = { }; }; + users.groups.multimedia = { members = [ "slskd" @@ -123,6 +124,7 @@ in enable = true; useRoutingFeatures = "server"; }; + services = { networkd-dispatcher = { enable = true;