From 2c8f99cae2b5cd438a3f5b42c91f1d29531bd508 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 10 Jul 2024 15:45:04 +0800 Subject: [PATCH] wrapper-manager-fds/modules: update example for env integration --- modules/env/common.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/modules/env/common.nix b/modules/env/common.nix index eba894c..debfdfc 100644 --- a/modules/env/common.nix +++ b/modules/env/common.nix @@ -57,6 +57,15 @@ in "--config" ./config/neofetch/config ]; }; + + wrappers.fastfetch = { + arg0 = lib.getExe' pkgs.fastfetch "fastfetch"; + appendArgs = [ + "--config" ./config/fastfetch/config + "--logo" "Guix" + ]; + env.NO_COLOR = 1; + }; }; music-setup = { @@ -66,6 +75,20 @@ in "--config-location" ./config/yt-dlp/audio.conf ]; }; + + wrappers.yt-dlp-video = { + arg0 = lib.getExe' pkgs.yt-dlp "yt-dlp"; + prependArgs = [ + "--config-location" ./config/yt-dlp/video.conf + ]; + }; + + wrappers.beets-fds = { + arg0 = lib.getExe' pkgs.beet "beet"; + prependArgs = [ + "--config" ./config/beets/config + ]; + }; }; writing = {