global/security: add rsync.net ssh host alias

This commit is contained in:
Infinidoge 2024-04-14 07:36:09 -04:00
parent d55fccdd3a
commit 3ed49dcd02
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

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