From 6ee59c8ca5281bd55779c2828e8ea45ca8c88051 Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Sat, 29 Mar 2025 15:13:28 +0100
Subject: hosts/server2: Use the correct path to the DKIM keys

---
 hosts/by-name/server2/configuration.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'hosts/by-name/server2')

diff --git a/hosts/by-name/server2/configuration.nix b/hosts/by-name/server2/configuration.nix
index cbc1ff3..90da548 100644
--- a/hosts/by-name/server2/configuration.nix
+++ b/hosts/by-name/server2/configuration.nix
@@ -64,12 +64,12 @@
       security = {
         dkimKeys = let
           loadKey = name: {
-            dkimPublicKey = builtins.readFile (./secrets/dkim + "/${name}/public");
-            dkimPrivateKeyPath = ./secrets/dkim + "/${name}/private.age";
+            dkimPublicKey = builtins.readFile (./secrets/dkim + "/${name}-public");
+            dkimPrivateKeyPath = ./secrets/dkim + "/${name}-private.age";
             keyAlgorithm = "ed25519-sha256";
           };
         in {
-          "mail.vhack.eu" = loadKey "vhack.eu";
+          "mail.vhack.eu" = loadKey "mail.vhack.eu";
         };
         verificationMode = "strict";
       };
-- 
cgit 1.4.1