From 09f804013537efea6b70b1b2e556648666c764c0 Mon Sep 17 00:00:00 2001 From: nelind Date: Sat, 21 Feb 2026 19:42:50 +0100 Subject: [PATCH] fix: minor format cleanup and description fixing in the module --- module.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/module.nix b/module.nix index 68806f9..7b97632 100644 --- a/module.nix +++ b/module.nix @@ -1,11 +1,9 @@ -self: -{ +self: { lib, pkgs, config, ... -}: -let +}: let cfg = config.services.tranquil-pds; inherit (lib) types mkOption; @@ -16,8 +14,7 @@ let useACME = cfg.nginx.enableACME && cfg.nginx.useACMEHost == null; hasSSL = useACME || cfg.nginx.useACMEHost != null; -in -{ +in { _class = "nixos"; options.services.tranquil-pds = { @@ -167,11 +164,11 @@ in }; description = '' - Environment variables to set for the service. Secrets should be + Configuration options to set for the service. Secrets should be specified using {option}`environmentFile`. - Refer to - available environment variables. + Refer to + for available configuration options. ''; }; };