2.home-manager/tests/modules/services/mpdscribble/basic-configuration.nix
Austin Horstman 82ee14ff60
treewide: remove with lib (#6871)
Remove from services.
2025-04-21 11:00:59 -05:00

31 lines
600 B
Nix

{
config,
lib,
pkgs,
...
}:
{
services.mpdscribble = {
enable = true;
endpoints = {
"libre.fm" = {
username = "musicfan1992";
passwordFile = toString ./password-file;
};
"https://music.com/" = {
username = "musicHATER1000";
passwordFile = toString ./password-file;
};
};
};
home.stateVersion = "22.11";
test.stubs.mpd = { };
nmt.script = ''
serviceFile=$(normalizeStorePaths home-files/.config/systemd/user/mpdscribble.service)
assertFileContent "$serviceFile" ${./basic-configuration.service}
'';
}