From 69d539f43f6fac1b975bd64898dcf22302253ce9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 Jan 2023 15:43:04 +0100 Subject: ... --- accounts/gkleen@sif/ssh-hosts.nix | 5 +++++ hosts/surtr/email/default.nix | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index 5957421e..0021c75e 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix @@ -463,4 +463,9 @@ { hostname = "cc-gpu-n02.mathinst.loc"; proxyJump = "cc-gpu-m01"; }; + "gitlab.com" = + { hostname = "gitlab.com"; + user = "git"; + identityFile = "~/.ssh/gitlab.com"; + }; } diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index 3d0b43ee..0ee68599 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix @@ -110,7 +110,7 @@ in { tls_server_sni_maps = ''texthash:${pkgs.writeText "sni" ( concatMapStringsSep "\n\n" (domain: - concatMapStringsSep "\n" (subdomain: "${subdomain} /run/credentials/postfix.service/${subdomain}.full.pem") + concatMapStringsSep "\n" (subdomain: "${subdomain} /run/credentials/postfix.service/${removePrefix "." subdomain}.full.pem") [domain "mailin.${domain}" "mailsub.${domain}" ".${domain}"] ) emailDomains )}''; -- cgit v1.2.3