diff --git a/modules/global/security.nix b/modules/global/security.nix index 3642bb6..c55226d 100644 --- a/modules/global/security.nix +++ b/modules/global/security.nix @@ -48,6 +48,18 @@ with lib; }]; }; + programs.ssh = { + extraConfig = with config.common; '' + Host rsync.net + Hostname ${rsyncnet.host} + User ${rsyncnet.user} + + Host admin.rsync.net + Hostname ${rsyncnet.host} + User ${rsyncnet.account} + ''; + }; + services.nginx = { statusPage = true; recommendedTlsSettings = true; @@ -69,5 +81,11 @@ with lib; forceSSL = true; }; }; + + rsyncnet = rec { + account = "de3482"; + user = "${account}s1"; + host = "${account}.rsync.net"; + }; }; }