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