From 39bec309d6e5b13c3f116cf31f55b83ba76ed201 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 23 Mar 2023 22:13:54 +0800 Subject: [PATCH] Add IDs for multiple listings in "Managing a cloud-hosted server with NixOS" --- .../index.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/posts/2023-02-26-my-experience-managing-a-cloud-hosted-server-with-nixos/index.adoc b/content/posts/2023-02-26-my-experience-managing-a-cloud-hosted-server-with-nixos/index.adoc index ddb285c..65198ac 100644 --- a/content/posts/2023-02-26-my-experience-managing-a-cloud-hosted-server-with-nixos/index.adoc +++ b/content/posts/2023-02-26-my-experience-managing-a-cloud-hosted-server-with-nixos/index.adoc @@ -224,6 +224,7 @@ As previously mentioned, NixOS is very flexible while giving you finer controls In the following example, I modified the CoreDNS service to add link:https://systemd.io/CREDENTIALS/[service credentials] to enable DNS-over-TLS using the generated certificate from the ACME client. I also made one more change to modify the DNS zone file with sensitive information before the service is activated. +[#lst:nixos-module-modified-coredns-service] .The modified CoreDNS service with DNS-over-TLS and insert sensitive information [source, nix] ---- @@ -232,6 +233,7 @@ include::./assets/modified-coredns-service.nix[] Here's another example with modifying the Gitea service to automate certain admin tasks (i.e., setting up database schema for PostgreSQL secure schema usage, creating admin account). +[#lst:nixos-module-modified-gitea-service] .Modified Gitea service with additional administration tasks [source, nix] ----