2023-07-08 10:12:35 +02:00
|
|
|
{ config, ... }:
|
2023-05-11 14:03:54 +02:00
|
|
|
|
|
|
|
{
|
2023-07-08 10:12:35 +02:00
|
|
|
home.stateVersion = "23.05";
|
2023-05-11 14:03:54 +02:00
|
|
|
|
2023-07-08 10:12:35 +02:00
|
|
|
programs.beets = {
|
|
|
|
enable = true;
|
|
|
|
package = config.lib.test.mkStubPackage { outPath = "@beets@"; };
|
|
|
|
mpdIntegration.enableUpdate = true;
|
2023-05-11 14:03:54 +02:00
|
|
|
};
|
2023-07-08 10:12:35 +02:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/beets/config.yaml
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/beets/config.yaml \
|
|
|
|
${./mpdupdate-expected.yaml}
|
|
|
|
'';
|
2023-05-11 14:03:54 +02:00
|
|
|
}
|