diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-09 22:44:48 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-09 22:53:40 +0200 |
commit | 460cc67f98349c0891cf62ebb0f9c2094c1c2c8d (patch) | |
tree | 8b0570dbb5f91655972dca8a62cdf7b66e942e8f /modules/home/pkgs | |
parent | feat(home/pkgs): Add `jq` to the default packages (diff) | |
download | nixos-config-460cc67f98349c0891cf62ebb0f9c2094c1c2c8d.tar.gz nixos-config-460cc67f98349c0891cf62ebb0f9c2094c1c2c8d.zip |
fix(pkgs/lyrics): Make the music dir configurable
Diffstat (limited to '')
-rw-r--r-- | modules/home/pkgs/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/home/pkgs/default.nix b/modules/home/pkgs/default.nix index 81bb362d..eb958a18 100644 --- a/modules/home/pkgs/default.nix +++ b/modules/home/pkgs/default.nix @@ -138,7 +138,10 @@ with pkgs; let mpc # Wrapper around `mpc` that allows the usage of `mpc-{rm,fav}` without the `-` mpc-rm # Removes the currently playing song from the playlist mpc-fav # Adds the currently playing song to the favorites - lyrics # Displays the lyrics of the currently playing song + # Displays the lyrics of the currently playing song + (lyrics.override { + mpd_music_dir = config.services.mpd.musicDirectory; + }) sort_song # Sorts songs in the current directory. ]; }; |