# nixos-config - My current NixOS configuration # # Copyright (C) 2025 Benedikt Peetz # 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 . {...}: { programs.beets.settings = { replaygain = { auto = true; backend = "ffmpeg"; r128_targetlevel = 89; # Re-calculate the replay gain value even for files, that already have one set. overwrite = true; }; hook = { hooks = [ { # Also generate the replaygain for the album variant (so selecting between # track and album becomes possible) event = "import"; command = "echo Remember to run 'beet replaygain --album' to generate the album replaygain values for the imported songs!"; } ]; }; }; }