This commit is contained in:
soraefir
2026-05-03 00:51:28 +02:00
parent d8be8b72ab
commit b1bbb3ce86
2 changed files with 2 additions and 7 deletions

View File

@@ -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

View File

@@ -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;
}