mirror of
https://github.com/nix-community/home-manager
synced 2024-12-22 11:03:13 +00:00
622fa73725
Allow configuration of mpdstats and mpdupdate plugins for Beets using Home Manager. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
20 lines
449 B
Nix
20 lines
449 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
home.stateVersion = "23.05";
|
|
|
|
programs.beets = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { outPath = "@beets@"; };
|
|
mpdIntegration.enableUpdate = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/beets/config.yaml
|
|
assertFileContent \
|
|
home-files/.config/beets/config.yaml \
|
|
${./mpdupdate-expected.yaml}
|
|
'';
|
|
};
|
|
}
|