From 20268e0ada6d437056825f995b55e1300cd02af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 13 Apr 2026 02:29:12 +0200 Subject: [PATCH] nixos/hedgedoc: remove minio from examples --- nixos/modules/services/web-apps/hedgedoc.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/nixos/modules/services/web-apps/hedgedoc.nix b/nixos/modules/services/web-apps/hedgedoc.nix index 61ad0a3a1a05..646eb1f79d09 100644 --- a/nixos/modules/services/web-apps/hedgedoc.nix +++ b/nixos/modules/services/web-apps/hedgedoc.nix @@ -229,20 +229,16 @@ in Nix store, by specifying placeholder variables as the option value in Nix and setting these variables accordingly in the environment file. + + Snippet of HedgeDoc config containing a secret: ``` - # snippet of HedgeDoc-related config - services.hedgedoc.settings.dbURL = "postgres://hedgedoc:\''${DB_PASSWORD}@db-host:5432/hedgedocdb"; - services.hedgedoc.settings.minio.secretKey = "$MINIO_SECRET_KEY"; + services.hedgedoc.settings.dbURL = "postgres://hedgedoc:\''${DB_PASSWORD}@db-host:5432/hedgedocdb"; ``` - ``` - # content of the environment file + and the content of this environment file: + ```` DB_PASSWORD=verysecretdbpassword - MINIO_SECRET_KEY=verysecretminiokey ``` - - Note that this file needs to be available on the host on which - `HedgeDoc` is running. ''; }; };