From a215f56cd5df7be7f5a179027c7d5984217bb8ea Mon Sep 17 00:00:00 2001 From: Dennis Date: Tue, 16 Sep 2025 15:45:45 +0200 Subject: [PATCH] removes matchBlocks --- hosts/dnsc-server/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/hosts/dnsc-server/default.nix b/hosts/dnsc-server/default.nix index 3b20905..94d97ee 100644 --- a/hosts/dnsc-server/default.nix +++ b/hosts/dnsc-server/default.nix @@ -118,15 +118,15 @@ # Root SSH programs.ssh = { - matchBlocks = { - "dnsc-storage" = { - hostname = "u295965.your-storagebox.de"; - user = "u295965"; - identityFile = "/root/.ssh/id_ed25519"; - identitiesOnly = true; - port = 23; - }; - }; + extraConfig = '' + Host dnsc-storage + AddKeysToAgent yes + Hostname u295965.your-storagebox.de + User u295965 + IdentityFile /root/.ssh/id_ed25519 + IdentitiesOnly yes + Port 23 + ''; }; # Services