From 70f6cc79302ae748cee4645925364d2ef2c5e871 Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sun, 15 Feb 2026 17:24:21 +0100 Subject: [PATCH] Update mail server secrets references to use direct secret values instead of file paths --- nix-system-configs/modules/system/mail-server.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nix-system-configs/modules/system/mail-server.nix b/nix-system-configs/modules/system/mail-server.nix index 732c70f..7f0a995 100644 --- a/nix-system-configs/modules/system/mail-server.nix +++ b/nix-system-configs/modules/system/mail-server.nix @@ -99,10 +99,10 @@ in { acme."letsencrypt" = { directory = "https://acme-v02.api.letsencrypt.org/directory"; challenge = "dns-01"; - contact = config.sops.secrets."cloudflare-username".path; + contact = config.sops.secrets."cloudflare-username"; domains = ["prg-radio.org" "mail.prg-radio.org"]; provider = "cloudflare"; - secret = config.sops.secrets."cloudflare-dns-token".path; + secret = config.sops.secrets."cloudflare-dns-token"; }; session.auth = { mechanisms = "[plain]"; @@ -117,20 +117,20 @@ in { { class = "individual"; name = "Polyteknisk Radiogruppe Board Member"; - secret = config.sops.secrets."board-member-password".path; + secret = config.sops.secrets."board-member-password"; email = ["board@prg-radio.org"]; } { class = "individual"; name = "postmaster"; - secret = config.sops.secrets."board-member-password".path; + secret = config.sops.secrets."board-member-password"; email = ["postmaster@prg-radio.org"]; } ]; }; authentication.fallback-admin = { user = "admin"; - secret = config.sops.secrets."admin-password".path; + secret = config.sops.secrets."admin-password"; }; }; };