diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-07-29 18:16:46 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-07-29 18:18:23 +0200 |
commit | 6186a802f41cb01eee4e6b65ecdfc93fed9f0139 (patch) | |
tree | cc9d05f78ccfb7b742f3f71a1af34c9e60eaba03 /modules/home.legacy/conf/beets/plugins/inline/default.nix | |
parent | modules/printing: Make printer config state-full (diff) | |
download | nixos-config-6186a802f41cb01eee4e6b65ecdfc93fed9f0139.zip |
modules/legacy/beets: Use primary artist for path names
This avoids having multiple directories for the same artist: ``` Artist1 Artist1 & SomeOtherArtist Artist1 feat. ThirdArtist (etc.) ```
Diffstat (limited to 'modules/home.legacy/conf/beets/plugins/inline/default.nix')
-rw-r--r-- | modules/home.legacy/conf/beets/plugins/inline/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/home.legacy/conf/beets/plugins/inline/default.nix b/modules/home.legacy/conf/beets/plugins/inline/default.nix new file mode 100644 index 00000000..564d5b4c --- /dev/null +++ b/modules/home.legacy/conf/beets/plugins/inline/default.nix @@ -0,0 +1,18 @@ +# nixos-config - My current NixOS configuration +# +# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of my nixos-config. +# +# You should have received a copy of the License along with this program. +# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. +{...}: { + programs.beets.settings.item_fields = { + primary_artist = + # python + '' + albumartists[0] + ''; + }; +} |