From 4b8ecce30eeb5c7350f9f7755a457e3a18825175 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 7 Aug 2023 10:28:55 +0200 Subject: [PATCH] CONTRIBUTING: fix indenting --- CONTRIBUTING.md | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 660b6d38..2bd7cc1e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,12 +33,13 @@ To add a new plugin you need to do the following. ```nix { - lib, - pkgs, - ... + lib, + pkgs, + ... } @ args: + let - helpers = import ../helpers.nix args; + helpers = import ../helpers.nix args; in { } ``` @@ -52,12 +53,16 @@ To add a new plugin you need to do the following. ```nix { - config = let cfg = config.plugins.""; in lib.mkIf cfg.enable { - extraPlugins = [cfg.package]; + config = + let + cfg = config.plugins.""; - extraConfigLua = '' - - ''; + in lib.mkIf cfg.enable { + extraPlugins = [cfg.package]; + + extraConfigLua = '' + + ''; }; } ```