ctucx.git: nixfiles

ctucx' nixfiles

commit f50e4f8e3bc3450d58ff7076900d761c99f51500
parent 32233f881befb140f43dff8aba5ea9cc49d78026
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 31 Aug 2023 13:25:32 +0200

machines/trabbi/git: enable additional openssh-hmac `hmac-sha2-512`
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/machines/trabbi/git.nix b/machines/trabbi/git.nix
@@ -110,6 +110,13 @@ let
 
 in {
 
+  services.openssh.settings.Macs = [
+    "hmac-sha2-512"
+    "hmac-sha2-512-etm@openssh.com"
+    "hmac-sha2-256-etm@openssh.com"
+    "umac-128-etm@openssh.com"
+  ];
+
   dns.zones."ctu.cx".subdomains = {
     cgit.CNAME = [ "${config.networking.fqdn}." ];
     git.CNAME  = [ "${config.networking.fqdn}." ];