From d72ffdca9e9074a8780177bb3de4f34df41ddaeb Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 9 Jul 2024 23:18:32 +0800 Subject: [PATCH] wrapper-manager-fds/modules: update common env module documentation --- modules/env/common.nix | 50 +++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/modules/env/common.nix b/modules/env/common.nix index af0e05b..eba894c 100644 --- a/modules/env/common.nix +++ b/modules/env/common.nix @@ -49,29 +49,35 @@ in default = { }; example = lib.literalExpression '' { - neofetch = { - arg0 = lib.getExe' pkgs.neofetch "neofetch"; - appendArgs = [ - "--ascii-distro" "guix" - "--config" ./config/neofetch/config - ]; - }; - - yt-dlp-audio = { - arg0 = lib.getExe' pkgs.yt-dlp "yt-dlp"; - prependArgs = [ - "--config-location" ./config/yt-dlp/audio.conf - ]; - }; - - asciidoctor-fds = { - arg = lib.getExe' pkgs.asciidoctor-with-extensions "asciidoctor"; - executableName = "asciidoctor"; - prependArgs = - builtins.map (v: "-r ''${v}") [ - "asciidoctor-diagram" - "asciidoctor-bibtex" + custom-ricing = { + wrappers.neofetch = { + arg0 = lib.getExe' pkgs.neofetch "neofetch"; + appendArgs = [ + "--ascii-distro" "guix" + "--config" ./config/neofetch/config ]; + }; + }; + + music-setup = { + wrappers.yt-dlp-audio = { + arg0 = lib.getExe' pkgs.yt-dlp "yt-dlp"; + prependArgs = [ + "--config-location" ./config/yt-dlp/audio.conf + ]; + }; + }; + + writing = { + wrappers.asciidoctor-fds = { + arg = lib.getExe' pkgs.asciidoctor-with-extensions "asciidoctor"; + executableName = "asciidoctor"; + prependArgs = + builtins.map (v: "-r ''${v}") [ + "asciidoctor-diagram" + "asciidoctor-bibtex" + ]; + }; }; } '';