pinwheel: Add picard with the replaygain2 plugin
This commit is contained in:
1 file changed
+16
@@ -0,0 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home-manager.users.alex = { lib, ... }: {
|
||||
home.packages = [
|
||||
pkgs.picard
|
||||
pkgs.rsgain
|
||||
];
|
||||
|
||||
home.activation.picardReplayGainPlugin = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
if ! ${pkgs.picard}/bin/picard-cli plugins info replaygain2 > /dev/null 2>&1; then
|
||||
run ${pkgs.picard}/bin/picard-cli plugins install replaygain2 \
|
||||
|| warnEcho "Failed to install Picard plugin replaygain2"
|
||||
fi
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user