From da20afa6a629e6545dbad18eca576e3b4678a7b8 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sun, 2 Jul 2023 13:31:42 +0200 Subject: [PATCH] web-01/plausible: Add smtp password --- machines/web-01/plausible.nix | 3 ++- machines/web-01/secrets/_smtp-password-file | 25 +++++++++++++++++++++ machines/web-01/secrets/secrets.nix | 1 + 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 machines/web-01/secrets/_smtp-password-file diff --git a/machines/web-01/plausible.nix b/machines/web-01/plausible.nix index 42a8fc4..3dc1118 100644 --- a/machines/web-01/plausible.nix +++ b/machines/web-01/plausible.nix @@ -11,9 +11,10 @@ in mail = { email = "analytics@infra.dgnum.eu"; + smtp = { user = "web-services@infra.dgnum.eu"; - # passwordFile = config.age.secrets."_smtp-password-file".path; + passwordFile = config.age.secrets."_smtp-password-file".path; hostPort = 465; hostAddr = "kurisu.lahfa.xyz"; enableSSL = true; diff --git a/machines/web-01/secrets/_smtp-password-file b/machines/web-01/secrets/_smtp-password-file new file mode 100644 index 0000000..87584e7 --- /dev/null +++ b/machines/web-01/secrets/_smtp-password-file @@ -0,0 +1,25 @@ +age-encryption.org/v1 +-> ssh-ed25519 0IVRbA cZCE8mKHO2PTChNTA6+1H4I3q4s2uHn+EG6lt3MM8Xs +FUID2ymmT2Cpp1hSCEoe6Msb6q5DvCebNOgqM6oXME8 +-> ssh-ed25519 JGx7Ng LEbrpjdHw8A79rj6+WVFRJNj5pCw5Sass8Hca2c3FFg +fI+RUcxfsjXCes7BfqBAQ+DnqLZzxhMTC5jykb/mDdM +-> ssh-rsa krWCLQ +NzUVdayQo5mroNmgSUZvY2s73af6UbEscX8rE3fJIOyryCKR1D3oZ4Obvp7Pt8wP +NkyNC3yZ/1awTc13RWvHw8YGeTPugrbmLfxcE6HEYk8i/k4X6spgxdNVOMqfXlsR +zUdgjrwFB6LVjdcsjIuTeRtJqE7wF0FCq/f9aTolcvJzptuCIr/J5oQOlWJba88r +24b+FKFyxiL3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