diff --git a/systems/gateway/cfg.nix b/systems/gateway/cfg.nix index da6997e..c784cfa 100644 --- a/systems/gateway/cfg.nix +++ b/systems/gateway/cfg.nix @@ -26,9 +26,8 @@ pubkey = "NFBJvYXZC+bd62jhrKnM7/pugidWhgR6+C5qIiUiq3Q="; server = { enable = true; - peers = ["avalon" "iriy" "valinor"]; forward = [ - [ "ens3" "10.10.1.2" "fd10:10:10::2" 2222 2222 ] # SSH + [ "ens3" "10.10.1.2" "fd10:10:10::2" 22 2222 ] # SSH/GIT [ "ens3" "10.10.1.2" "fd10:10:10::2" 80 80 ] # HTTP [ "ens3" "10.10.1.2" "fd10:10:10::2" 443 443 ] # HTTPS [ "ens3" "10.10.1.2" "fd10:10:10::2" 3979 3979 ] # OTTD diff --git a/systems/gateway/default.nix b/systems/gateway/default.nix index 581c71f..dfa398f 100644 --- a/systems/gateway/default.nix +++ b/systems/gateway/default.nix @@ -20,9 +20,5 @@ in { openssh.authorizedKeys.keys = lib.unique ( lib.concatMap (u: if u ? pubssh then [ u.pubssh ] else []) userList ); - }) activeUsers - // { - root = {openssh.authorizedKeys.keys = [];}; - }; + }) activeUsers; } -