From a8ad05ee11fd6c6c32dbadad30ed2013b08587ae Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 30 Apr 2022 19:00:04 +0200 Subject: Migrate syntax highlighting options to zola syntax --- content/post/postfix-as-null-client-with-external-catchall.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/post/postfix-as-null-client-with-external-catchall.md') diff --git a/content/post/postfix-as-null-client-with-external-catchall.md b/content/post/postfix-as-null-client-with-external-catchall.md index 4a604b5..eb0a913 100644 --- a/content/post/postfix-as-null-client-with-external-catchall.md +++ b/content/post/postfix-as-null-client-with-external-catchall.md @@ -11,7 +11,7 @@ It took me a while to figure out how to this, so I thought I'd share my method. Here's the config that can be used to do this on any NixOS host, after redefining the first two variables. -```txt {linenos=table,hl_lines=["2-3"]} +```txt,linenos,hl_lines=2-3 services.postfix = let localUser = "example-user"; forwardingAddress = "user@external.domain"; @@ -36,7 +36,7 @@ Emails to any user without a domain part are all sent to the forwarding address First, the basic setup for a null client can be found in the [postfix documentation][0]. The example config would be translated into NixOS like so: -```txt {linenos=table} +```txt services.postfix = { enable = true; destination = []; -- cgit 1.4.1