1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-08 12:19:43 +01:00
home-manager/tests/modules/programs/beets/mpdupdate.nix

21 lines
449 B
Nix
Raw Normal View History

{ 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}
'';
};
}