diff --git a/hosts/prusa-connect/default.nix b/hosts/prusa-connect/default.nix index 3454ead..43afc6d 100644 --- a/hosts/prusa-connect/default.nix +++ b/hosts/prusa-connect/default.nix @@ -5,7 +5,6 @@ ../common.nix ../../services/openssh.nix ../../services/prometheus-node.nix - ./podman.nix ./prusa-connect.nix ]; diff --git a/hosts/prusa-connect/prusa-connect.nix b/hosts/prusa-connect/prusa-connect.nix index bae6706..952652b 100644 --- a/hosts/prusa-connect/prusa-connect.nix +++ b/hosts/prusa-connect/prusa-connect.nix @@ -45,7 +45,7 @@ in "[${ipv6}]" ipv4 ]; - location."/" = { + locations."/" = { recommendedProxySettings = true; proxyWebsockets = true; proxyPass = "http://127.0.0.1:8080"; diff --git a/hosts/www/default.nix b/hosts/www/default.nix index fe2a9d7..cd31db3 100644 --- a/hosts/www/default.nix +++ b/hosts/www/default.nix @@ -3,7 +3,6 @@ { imports = [ ../common.nix - ../../services/openssh.nix ./openssh.nix ../../services/prometheus-node.nix ./nginx.nix diff --git a/hosts/www/openssh.nix b/hosts/www/openssh.nix index a16c870..67a8934 100644 --- a/hosts/www/openssh.nix +++ b/hosts/www/openssh.nix @@ -1,6 +1,10 @@ { pkgs, ... }: { + imports = [ + ../../services/openssh.nix + ]; + users = { users.deploy = { description = "deploys static websites from forgejo";